-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (39 loc) · 1.14 KB
/
dev_workflow.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Dev workflow. Performs checks but does NOT release.
# Intended to be run on any pushed development branch (not main).
name: Dev branch checks
on:
push:
branches-ignore:
- main
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Check code style
run: npm run prettier:check
- name: Lint & license header check
run: npm run lint
- name: Test
run: npm run test:ci
- name: Clean dist/
run: npm run clean
- name: Build
run: npm run build
# - name: Package # We don't current do any special packaging.
# run: npm run package