Skip to content

Commit ebd29ee

Browse files
authored
Merge pull request #83 from drumath2237/feature/update-ci-for-provenance
ci: update ci for npm provenance
2 parents 9269b93 + 09c0438 commit ebd29ee

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-22.04
1313
strategy:
1414
matrix:
15-
node-version: [22]
15+
node-version: [24]
1616
steps:
1717
- uses: actions/checkout@v5
1818

@@ -28,7 +28,7 @@ jobs:
2828
cache: "pnpm"
2929

3030
- name: Install dependencies
31-
run: pnpm install
31+
run: pnpm install --frozen-lockfile
3232

3333
- name: Check Lint and Format
3434
run: pnpm check
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-22.04
3939
strategy:
4040
matrix:
41-
node-version: [22]
41+
node-version: [24]
4242
steps:
4343
- uses: actions/checkout@v5
4444

@@ -62,7 +62,7 @@ jobs:
6262

6363
- name: Install dependencies
6464
run: |
65-
pnpm install
65+
pnpm install --frozen-lockfile
6666
6767
- name: Build
6868
run: pnpm build:all

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-22.04
1515
strategy:
1616
matrix:
17-
node-version: [22]
17+
node-version: [24]
1818
permissions:
1919
contents: read
2020
id-token: write
@@ -45,7 +45,7 @@ jobs:
4545
registry-url: https://registry.npmjs.org
4646

4747
- name: Install dependencies
48-
run: pnpm install
48+
run: pnpm install --frozen-lockfile
4949

5050
- name: Build
5151
run: pnpm build:all

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build:all": "pnpm run build:wasm && pnpm run build:vite",
1111
"build": "pnpm run build:vite",
1212
"version:set": "pnpm exec lerna version",
13-
"publish:all": "NPM_CONFIG_PROVENANCE=true pnpm publish --filter \"@spz-loader/*\" --access public"
13+
"publish:all": "NPM_CONFIG_PROVENANCE=true pnpm publish --filter \"@spz-loader/*\" --access public --no-git-checks"
1414
},
1515
"engines": {
1616
"node": ">=16",

packages/core/lib/spz-wasm/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if [ ! -d build ]; then
44
mkdir build
55
fi
66

7-
npm install -g typescript
7+
npm install -g typescript@5
88

99
em++ main.cpp \
1010
-Oz \

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"scripts": {
4949
"dev": "vite",
5050
"build": "tsc && vite build",
51-
"build:docker": "docker run --rm -v $(pwd)/lib/spz-wasm/:/src emscripten/emsdk ./build.sh",
51+
"build:docker": "docker run --rm -v $(pwd)/lib/spz-wasm/:/src emscripten/emsdk:5.0.3 ./build.sh",
5252
"check": "biome check ./lib ./src",
5353
"check:write": "biome check --write ./lib ./src"
5454
},
@@ -59,4 +59,4 @@
5959
"vite": "^5.4.9",
6060
"vite-plugin-dts": "^4.3.0"
6161
}
62-
}
62+
}

0 commit comments

Comments
 (0)