File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Managed by sh1pt Actions Fleet
2+ # pack: node-pnpm-test@1.2.0
3+ # install: sh1pt-actions-store
4+ # hash: sha256:53499e840c5023f2235444afd4f6a36d2c0bf8a40c52cfdf84615b17624de69b
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+ # test defaults to `pnpm run --if-present test` so a repo that hasn't
35+ # defined a test script yet gets a green workflow instead of failing on
36+ # the first step. Once the script exists it runs normally.
37+ - run : pnpm run --if-present test
38+ env :
39+ CI : true
You can’t perform that action at this time.
0 commit comments