Merge pull request #518 from xt0rted/dependabot/github_actions/action… #1185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [12, 14, 16] | |
steps: | |
- name: Check out repo | |
uses: actions/[email protected] | |
- name: Install node | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
- run: yarn install | |
- run: yarn test | |
- run: yarn run build |