Skip to content

Commit 6a1b912

Browse files
committed
Include the contents of @rescript/runtime in the artifact list
1 parent 33d3cb6 commit 6a1b912

File tree

7 files changed

+1544
-99
lines changed

7 files changed

+1544
-99
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,9 @@ jobs:
478478
shell: bash
479479

480480
- name: Check artifact list
481-
run: node ./scripts/npmPack.js
481+
run: |
482+
node ./scripts/updateArtifactList.js
483+
git diff --exit-code packages/artifacts.json
482484
483485
- name: Publish packages to pkg.pr.new
484486
run: |

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ lib:
5555
yarn workspace @rescript/runtime build
5656

5757
artifacts: lib
58-
./scripts/npmPack.js --updateArtifactList
58+
./scripts/updateArtifactList.js
5959

6060
# Builds the core playground bundle (without the relevant cmijs files for the runtime)
6161
playground:

lib_dev/paths.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const compilerVersionFile = path.resolve(
7272
export const artifactListFile = path.resolve(
7373
projectDir,
7474
"packages",
75-
"artifacts.txt",
75+
"artifacts.json",
7676
);
7777

7878
/**

0 commit comments

Comments
 (0)