Skip to content

Commit 339413f

Browse files
committed
fix: dogs
1 parent 932447b commit 339413f

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
1519
concurrency:
1620
group: "${{ github.workflow }} @ ${{ github.event.compare || github.head_ref || github.ref }}"
1721
cancel-in-progress: true
@@ -26,7 +30,6 @@ jobs:
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
@@ -41,17 +44,13 @@ jobs:
4144
EOF
4245
4346
- name: Build and test scratch-gui
44-
env:
45-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4647
working-directory: ./packages/scratch-gui
4748
run: |
4849
npm ci
4950
npm run build
5051
npm run test
5152
5253
- name: Publish scratch-gui to GitHub Packages
53-
env:
54-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5554
working-directory: ./packages/scratch-gui
5655
run: |
5756
RELEASE_VERSION="0.1.0-experience-cs.$(date +'%Y%m%d%H%M%S')"

0 commit comments

Comments
 (0)