Skip to content

ci(deps): bump actions/setup-node from 3 to 4 (#269) #20

ci(deps): bump actions/setup-node from 3 to 4 (#269)

ci(deps): bump actions/setup-node from 3 to 4 (#269) #20

Workflow file for this run

name: linting & test coverage - linux
on:
push:
branches:
- master
- develop
pull_request:
env:
CI: true
defaults:
run:
shell: bash
jobs:
check:
strategy:
fail-fast: true
matrix:
node-version:
- 20.x
platform:
- ubuntu-latest
runs-on: ${{matrix.platform}}
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v4
with:
path: node_modules
key: ${{matrix.node-version}}@${{matrix.platform}}-build-${{hashFiles('package.json')}}
restore-keys: |
${{matrix.node-version}}@${{matrix.platform}}-build-
- uses: actions/setup-node@v4
with:
node-version: ${{matrix.node-version}}
- name: install & build
run: |
npm install
npm run build
- name: lint & forbidden dependency check
run: |
npm run lint
npm run depcruise
- run: npm run test:cover