Skip to content

chore(deps): update node.js to v20.18.1 #952

chore(deps): update node.js to v20.18.1

chore(deps): update node.js to v20.18.1 #952

Workflow file for this run

name: Test and Build
on:
push:
branches: [main, staging]
pull_request:
branches: [main, staging]
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v3
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
id: nvm
- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v3
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}
- run: npm ci
- run: npm run build --if-present
- run: npm run lint
- run: npm run type-check
- run: npm run test:ci
env:
CI: true