ci: update devDependencies to min version to fix npm outdated error (… #123
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: "Continuous Integration" | |
env: | |
GH_OAUTH_TOKEN: ${{ secrets.GH_OAUTH_TOKEN }} | |
on: | |
push: | |
branches: | |
- "develop" | |
- "staging" | |
jobs: | |
integration: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Check out the repo" | |
uses: "actions/checkout@v3" | |
- name: "Install Node.js" | |
uses: "actions/setup-node@v3" | |
with: | |
cache: "yarn" | |
node-version: "16" | |
- name: "Install dependencies" | |
run: "yarn install --immutable" | |
- name: "Lint code" | |
run: "yarn lint" | |
- name: "Run unit tests" | |
run: "yarn test:unit" | |
- name: "Run integration tests" | |
run: "yarn test:integration" |