summaryrefslogtreecommitdiff
path: root/.config/coc/extensions/node_modules/coc-go/.github/workflows/update-settings.yml
blob: 48219bc84630f17d59a32c77b4006185d393a7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: update-settings

on:
  push:
    branches: [ master ]
  schedule:
    - cron:  '0 * * * *'

jobs:
  main:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with: { ref: master }
    - uses: actions/setup-node@v1
      with: { node-version: '12' }
    - run: ./scripts/update-commands.js
    - run: ./scripts/update-options.js
    - run: ./scripts/update-options-interface.js
    - run: ./scripts/update-snippets.js
    - run: ./scripts/update-tables.sh
    - run: git diff
    - run: yarn --frozen-lockfile
    - run: yarn build
    - run: yarn lint
    - run: yarn test
    - uses: EndBug/add-and-commit@v5
      with:
        push: true
        author_name:  Github Action
        author_email: josa@gesell.me
        message: '[auto] Update Settings'
      env:
        GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'