- update actions/setup-node to fix extra 10 minute delay in CI - update Node.js - use version ranges instead of commit hashes to get future updates automatically (we already trust the GitHub Actions team) - don't use npm cache in deploy workflow
23 lines
403 B
YAML
23 lines
403 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
- run: npm ci
|
|
- run: npm run lint
|
|
- run: npm run build
|
|
- run: npm run tap
|