Merge pull request #1495 from checkupjs/dependabot/npm_and_yarn/nanoi… #5902
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 Build | |
on: | |
push: | |
branches: | |
- main | |
- 'v*' | |
pull_request: {} | |
schedule: | |
- cron: '0 3 * * *' # daily, at 3am | |
jobs: | |
test: | |
name: Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: ['16', '18'] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: volta-cli/action@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: install dependencies | |
run: yarn install | |
- name: lint | |
run: yarn lint | |
- name: test | |
run: yarn test |