-
Notifications
You must be signed in to change notification settings - Fork 6
53 lines (44 loc) · 1.26 KB
/
Copy pathci.yml
File metadata and controls
53 lines (44 loc) · 1.26 KB
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
43
44
45
46
47
48
49
50
51
52
53
name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
persist-credentials: false
- run: corepack enable
env:
COREPACK_ENABLE_STRICT: '1'
COREPACK_ENABLE_DOWNLOAD_PROMPT: '0'
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: lts/*
cache: pnpm
- name: 📦 Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
- name: 🧪 Test
run: pnpm test
- name: 💪 Test types
run: pnpm test:types
zizmor:
runs-on: ubuntu-latest
permissions:
contents: read
# SARIF upload to GitHub Advanced Security. GHAS is free on public repos
# once code scanning is enabled under Settings -> Code security.
security-events: write
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6