Skip to content

Commit

Permalink
Change REPL artefact generation so that browser build will work on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Jul 29, 2022
1 parent c526974 commit 3b556d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/repl-artefacts.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
args: --cache-control max-age=300,public
env:
FILE: dist/rollup.browser.js
FILE: browser/dist/rollup.browser.js
AWS_REGION: ${{ secrets.AWS_REGION }}
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
S3_KEY: ${{ github.event.number }}/rollup.browser.js
Expand All @@ -38,7 +38,7 @@ jobs:
with:
args: --cache-control max-age=300,public
env:
FILE: dist/rollup.browser.js.map
FILE: browser/dist/rollup.browser.js.map
AWS_REGION: ${{ secrets.AWS_REGION }}
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
S3_KEY: ${{ github.event.number }}/rollup.browser.js.map
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -14,3 +14,4 @@ test/tmp
test/typescript/typings
perf/
.nyc_output/
.github_token
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
"scripts": {
"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",
"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",
"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",
"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/",
"ci:lint": "npm run lint:nofix",
"ci:test": "npm run build:cjs && npm run build:bootstrap && npm run test:all",
"ci:test:only": "npm run build:cjs && npm run build:bootstrap && npm run test:only",
Expand Down

0 comments on commit 3b556d6

Please sign in to comment.