fix(deps): update all major dependencies (major) #2421
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: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [10.x, 12.13.0] | |
steps: | |
- name: Begin CI... | |
uses: actions/checkout@v4 | |
- name: Use Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Use cached node_modules | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: nodeModules-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
nodeModules- | |
- name: Install dependencies | |
# TODO: add check yarn.lock | |
# run: yarn install --frozen-lockfile | |
run: yarn install | |
env: | |
CI: true | |
- name: Lint | |
run: yarn lint | |
env: | |
CI: true | |
- name: Test | |
run: yarn test | |
env: | |
CI: true |