Skip to content

Commit 11a3b0c

Browse files
committed
Add Github Action
1 parent 612758c commit 11a3b0c

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.js.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: config tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: [main]
7+
8+
jobs:
9+
smoke:
10+
runs-on: ubuntu-22.04
11+
12+
steps:
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
14+
- name: Enable corepack to fix https://github.com/actions/setup-node/pull/901
15+
run: corepack enable pnpm
16+
17+
- name: Use Node.js LTS (22.x)
18+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
19+
with:
20+
node-version: 22.x
21+
cache: 'pnpm'
22+
23+
- name: Install project dependencies
24+
run: corepack pnpm install --frozen-lockfile
25+
26+
- name: Run tests
27+
run: corepack pnpm test

0 commit comments

Comments
 (0)