Skip to content

feat: cache api + req/res/url transforms (#41) #74

feat: cache api + req/res/url transforms (#41)

feat: cache api + req/res/url transforms (#41) #74

Workflow file for this run

name: Checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
checks:
name: Check ${{ matrix.script }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
script: [lint, prettier, tsc, test]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: |
npm ci
- name: Build
run: |
npm run build
- name: ${{ matrix.script }}
run: npm run ${{ matrix.script }}