commit 5042089bd7687069ca0d7f183f695f193957cab3 parent cb73ffa6608ea89e70034e176c2a30b5bc0bb73a Author: Sergey Orlov <wladimirych@gmail.com> Date: Mon, 1 Feb 2021 15:17:41 +0100 config: add config for GH actions Diffstat:
A | .github/workflows/main.yml | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +on: + push: + branches: [master] + pull_request: + schedule: + - cron: '15 3 * * *' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + - run: cp src/secrets.js.template src/secrets.js + - run: yarnpkg + - run: npm run lint:code + - run: npm run lint:style + - run: npm run test + - run: npm run build