File tree Expand file tree Collapse file tree 7 files changed +1295
-17
lines changed
Expand file tree Collapse file tree 7 files changed +1295
-17
lines changed Original file line number Diff line number Diff line change 2323 cache : ' npm'
2424
2525 - name : Install dependencies
26- run : npm ci
26+ run : |
27+ npm ci
28+ npx allow-scripts
2729
2830 - name : Build
2931 run : npm run build
Original file line number Diff line number Diff line change 2121 cache : ' npm'
2222
2323 - name : Install dependencies
24- run : npm ci
24+ run : |
25+ npm ci
26+ npx allow-scripts
2527
2628 - name : Restore the build folders
2729 uses : actions/cache/restore@v4
Original file line number Diff line number Diff line change 1616 actions : read
1717
1818 steps :
19- - name : ' Retrieve Secrets from Vault'
19+ - name : " Retrieve Secrets from Vault"
2020 id : vault
2121 uses : hashicorp/vault-action@v3.4.0
2222 with :
3838 run : |
3939 git config --global user.name 'contentful-automation[bot]'
4040 git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+contentful-automation[bot]@users.noreply.github.com'
41-
41+
4242 - name : Checkout code
4343 uses : actions/checkout@v5
4444 with :
@@ -47,14 +47,16 @@ jobs:
4747 - name : Setup Node.js
4848 uses : actions/setup-node@v6
4949 with :
50- node-version : ' 22 '
51- cache : ' npm'
50+ node-version : " 22 "
51+ cache : " npm"
5252
5353 - name : Install latest npm
5454 run : npm install -g npm@latest
5555
5656 - name : Install dependencies
57- run : npm ci
57+ run : |
58+ npm ci
59+ npx allow-scripts
5860
5961 - name : Restore the build folders
6062 uses : actions/cache/restore@v4
8587 echo "## Release Summary" >> $GITHUB_STEP_SUMMARY
8688 echo "" >> $GITHUB_STEP_SUMMARY
8789 echo "- **Version**: ${{ steps.get-tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
88- echo "- **GitHub Release**: https://github.com/${{ github.repository }}/releases/tag/${{ steps.get-tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
90+ echo "- **GitHub Release**: https://github.com/${{ github.repository }}/releases/tag/${{ steps.get-tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change 2828 cache : ' npm'
2929
3030 - name : Install dependencies
31- run : npm ci
31+ run : |
32+ npm ci
33+ npx allow-scripts
3234
3335 - name : Restore the build folders
3436 uses : actions/cache/restore@v4
Original file line number Diff line number Diff line change 2828 cache : ' npm'
2929
3030 - name : Install dependencies
31- run : npm ci
31+ run : |
32+ npm ci
33+ npx allow-scripts
3234
3335 - name : Restore the build folders
3436 uses : actions/cache/restore@v4
You can’t perform that action at this time.
0 commit comments