Skip to content

Commit dee4551

Browse files
committed
test PRs
1 parent f2edc65 commit dee4551

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

.github/workflows/CI.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,38 @@ env:
1010
CI: "1"
1111

1212
jobs:
13+
npm-test:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup node
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: 20
22+
23+
- run: |
24+
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
25+
npm install -g corepack@latest
26+
echo "After : corepack version => $(corepack --version)"
27+
corepack enable
28+
pnpm --version
29+
pnpm i
30+
31+
- name: Install Rust
32+
uses: actions-rs/toolchain@v1
33+
with:
34+
profile: minimal
35+
36+
- name: Install wasm target
37+
shell: bash
38+
run: |
39+
rustup target add wasm32-wasip1
40+
41+
- name: Test
42+
run: |
43+
pnpm test
44+
1345
cargo-test:
1446
strategy:
1547
fail-fast: false

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515
name: Build
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
19-
with:
20-
submodules: true
18+
- uses: actions/checkout@v4
2119

2220
- name: Setup node
2321
uses: actions/setup-node@v2

0 commit comments

Comments
 (0)