Skip to content

Update actions/checkout action to v4 #2735

Update actions/checkout action to v4

Update actions/checkout action to v4 #2735

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: '16'
check-latest: true
cache: 'npm'
- name: Install Dependencies
run: npm ci
lint-typecheck-format:
runs-on: ubuntu-latest
needs: setup
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: '16'
check-latest: true
cache: 'npm'
- run: npm ci
- name: install website dependencies
working-directory: website
run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm run prettier
test:
runs-on: ubuntu-latest
needs: setup
strategy:
matrix:
node: ['16', '18']
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: 'npm'
- run: npm ci
- run: npm run test:ci