Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc08bcc

Browse files
authored
Change REPL artefact generation so that browser build will work on CI (#4594)
1 parent eacbc41 commit fc08bcc

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/repl-artefacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
args: --cache-control max-age=300,public
2929
env:
30-
FILE: dist/rollup.browser.js
30+
FILE: browser/dist/rollup.browser.js
3131
AWS_REGION: ${{ secrets.AWS_REGION }}
3232
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
3333
S3_KEY: ${{ github.event.number }}/rollup.browser.js
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
args: --cache-control max-age=300,public
4040
env:
41-
FILE: dist/rollup.browser.js.map
41+
FILE: browser/dist/rollup.browser.js.map
4242
AWS_REGION: ${{ secrets.AWS_REGION }}
4343
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
4444
S3_KEY: ${{ github.event.number }}/rollup.browser.js.map

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ test/tmp
1414
test/typescript/typings
1515
perf/
1616
.nyc_output/
17+
.github_token

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"build": "shx rm -rf dist && node scripts/update-git-commit.js && rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
1313
"build:cjs": "shx rm -rf dist && rollup --config rollup.config.ts --configPlugin typescript --configTest && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
14-
"build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup",
14+
"build:bootstrap": "node dist/bin/rollup --config rollup.config.ts --configPlugin typescript && shx cp src/rollup/types.d.ts dist/rollup.d.ts && shx chmod a+x dist/bin/rollup && cp -r dist browser/",
1515
"ci:lint": "npm run lint:nofix",
1616
"ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
1717
"ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",

0 commit comments

Comments
 (0)