Skip to content

feat(ci): integrate 1Password secrets in workflows #37

feat(ci): integrate 1Password secrets in workflows

feat(ci): integrate 1Password secrets in workflows #37

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions: {}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
continue-on-error: true # Allow migration to proceed
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24.13.0'
cache: 'npm'
- run: npm ci
- run: npm run lint
typecheck:
name: Type Check
runs-on: ubuntu-latest
permissions:
contents: read
continue-on-error: true # Allow migration to proceed
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24.13.0'
cache: 'npm'
- run: npm ci
- run: npm run typecheck
test:
name: Test
runs-on: ubuntu-latest
permissions:
contents: read
continue-on-error: true # Allow migration to proceed
strategy:
matrix:
node-version: ['24.13.0']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run test:coverage
- name: Upload coverage
if: matrix.node-version == '22'
uses: actions/upload-artifact@v5
with:
name: coverage
path: coverage/
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24.13.0'
cache: 'npm'
- run: npm ci
- run: npm run build