Update workflows dependencies #68
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: Continous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install Yarn | |
run: | | |
npm i -g yarn | |
- name: Install dependencies | |
run: | | |
yarn --frozen-lockfile --production=false | |
- name: Run linter | |
run: | | |
yarn lint | |
- name: Run unit tests | |
run: | | |
yarn test:unit | |
- name: Test application build | |
run: | | |
yarn build | |
- name: Test Docker build | |
run: | | |
docker build -t ci:local . |