Skip to content

Commit fa21ff3

Browse files
Add .github/workflows/test.yml via sh1pt node-pnpm-test@1.1.0
1 parent 9c32310 commit fa21ff3

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Managed by sh1pt Actions Fleet
2+
# pack: node-pnpm-test@1.1.0
3+
# install: sh1pt-actions-store
4+
# hash: sha256:d753421a4244bd39c13dd7444a29709ac978395b34c359adf0be2bfec9e48268
5+
name: test
6+
7+
on:
8+
pull_request:
9+
push:
10+
branches: [master]
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
test:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 15
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
# pnpm version is read from the "packageManager" field in package.json.
23+
# Do not pin a version here — it conflicts with packageManager and fails
24+
# with ERR_PNPM_BAD_PM_VERSION.
25+
- uses: pnpm/action-setup@v4
26+
27+
- uses: actions/setup-node@v4
28+
with:
29+
node-version: 22
30+
cache: pnpm
31+
32+
- run: pnpm install --frozen-lockfile
33+
34+
- run: pnpm test
35+
env:
36+
CI: true

0 commit comments

Comments
 (0)