Skip to content

Bump actions/setup-node from 4.4.0 to 6.0.0 #36

Bump actions/setup-node from 4.4.0 to 6.0.0

Bump actions/setup-node from 4.4.0 to 6.0.0 #36

Workflow file for this run

name: 🚀 CI
on: [pull_request]
jobs:
format:
name: ⬣ Prettier
runs-on: ubuntu-latest
timeout-minutes: 15
concurrency:
group: ci-format-${{ github.ref }}
cancel-in-progress: true
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: ⎔ Setup node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: 📥 Install dependencies
run: npm ci
- name: 🔬 Check Formatting
run: npm run format:check
typecheck:
name: Typescript
runs-on: ubuntu-latest
timeout-minutes: 15
concurrency:
group: ci-typecheck-${{ github.ref }}
cancel-in-progress: true
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: ⎔ Setup node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: 📥 Install dependencies
run: npm ci
- name: 📦 Build
run: npm run build
- name: ✅ Typecheck
run: npm run typecheck
test:
name: ⬣ Unit tests
runs-on: ubuntu-latest
timeout-minutes: 15
concurrency:
group: ci-test-${{ github.ref }}
cancel-in-progress: true
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: ⎔ Setup node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: 📥 Install dependencies
run: npm ci
- name: 🔬 Test
run: npm run test:coverage