From ab841a84a3d1d117c248741391ca1075fcab7c51 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 20 May 2021 11:30:42 +0200 Subject: [PATCH] rename workflow --- .github/workflows/codechecks.js.yml | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/codechecks.js.yml diff --git a/.github/workflows/codechecks.js.yml b/.github/workflows/codechecks.js.yml new file mode 100644 index 00000000..c6def19b --- /dev/null +++ b/.github/workflows/codechecks.js.yml @@ -0,0 +1,33 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Code checks + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + + steps: + - name: Checkout project source + uses: actions/checkout@v2 + - name: Install tools + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + - name: Install project dependencies + run: npm install --also=dev + - name: Unit tests + run: npm test + - name: Lint + run: npm run lint-ci \ No newline at end of file