Skip to content

Commit

Permalink
Add test for ensuring reproducible build
Browse files Browse the repository at this point in the history
  • Loading branch information
andychow326 authored and louischan-oursky committed Sep 9, 2024
1 parent c68179c commit 7619c6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ jobs:
- run: npm run build
working-directory: ./portal
if: ${{ !cancelled() }}
- run: npm run ensure-reproducible-build
working-directory: ./portal
if: ${{ !cancelled() }}

portal-image:
if: ${{ github.repository != 'oursky/authgear-server' }}
Expand Down
3 changes: 2 additions & 1 deletion portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"eslint": "eslint --cache './src/**/*.{js,ts,jsx,tsx}'",
"stylelint": "stylelint --cache './src/**/*.{css,scss}'",
"gentype": "graphql-codegen --config ./graphql.portal.codegen.yaml && graphql-codegen --config ./graphql.adminapi.codegen.yaml",
"generateCodesplit": "node ./scripts/generateCodesplit.mjs"
"generateCodesplit": "node ./scripts/generateCodesplit.mjs",
"ensure-reproducible-build": "../scripts/sh/ensure-reproducible-build.sh -n 5 -p './dist/.vite/manifest.json'"
},
"overrides": {
"word-wrap": "@aashutoshrathi/word-wrap"
Expand Down

0 comments on commit 7619c6b

Please sign in to comment.