File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ permissions:
1212 pull-requests : write # comment on released pull requests
1313 packages : write # deploy to GitHub Packages
1414
15+ env :
16+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17+ NPM_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18+
1519concurrency :
1620 group : " ${{ github.workflow }} @ ${{ github.event.compare || github.head_ref || github.ref }}"
1721 cancel-in-progress : true
2630 with :
2731 cache : " npm"
2832 node-version-file : " .nvmrc"
29- registry-url : " https://npm.pkg.github.com"
3033
3134 - uses : wagoid/commitlint-github-action@9763196e10f27aef304c9b8b660d31d97fce0f99 # v5
3235 - name : Debug info
@@ -40,18 +43,17 @@ jobs:
4043 Working directory: $(pwd)
4144 EOF
4245
46+ - name : Install dependencies
47+ run : |
48+ npm ci
49+
4350 - name : Build and test scratch-gui
44- env :
45- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4651 working-directory : ./packages/scratch-gui
4752 run : |
48- npm ci
4953 npm run build
5054 npm run test
5155
5256 - name : Publish scratch-gui to GitHub Packages
53- env :
54- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5557 working-directory : ./packages/scratch-gui
5658 run : |
5759 RELEASE_VERSION="0.1.0-experience-cs.$(date +'%Y%m%d%H%M%S')"
You can’t perform that action at this time.
0 commit comments