Skip to content

Bump actions/upload-artifact from 6 to 7 #64

Bump actions/upload-artifact from 6 to 7

Bump actions/upload-artifact from 6 to 7 #64

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
test:
name: Test and Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '22.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Run tests
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage/lcov.info
flags: unittests
name: codecov-umbrella
- name: Build
run: npm run build
- name: Archive production artifacts
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/