Skip to content

chore(ci): update node version #147

chore(ci): update node version

chore(ci): update node version #147

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache-node
with:
path: node_modules
key: ${{ hashFiles('package.json') }}
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install
if: steps.cache-node.outputs.cache-hit != 'true'
- run: yarn lint
- run: yarn typescript
- run: yarn test --coverage
- run: yarn prepare