Skip to content

Commit e6f4ade

Browse files
authored
Use right gh token to publish (#1586)
1 parent 987e5f4 commit e6f4ade

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ jobs:
2424
id: set-tag
2525
run: echo "TAG_NAME=${{ github.event.release.tag_name || github.event.inputs.tag }}" >> $GITHUB_ENV
2626

27-
- name: Checkout Repo
28-
uses: actions/checkout@v3
27+
- name: Checkout repository
28+
uses: actions/checkout@v4
2929
with:
30-
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
3130
# Use the tag associated with the release
3231
ref: ${{ env.TAG_NAME }}
32+
token: ${{ secrets.GITHUB_TOKEN }}
3333

3434
- name: Setup Node from .nvmrc
3535
uses: actions/setup-node@v4
3636
with:
3737
node-version-file: ".nvmrc"
38-
registry-url: 'https://registry.npmjs.org'
38+
registry-url: "https://registry.npmjs.org"
3939

4040
- name: Install dependencies
4141
run: yarn install --frozen-lockfile
@@ -60,4 +60,4 @@ jobs:
6060
run: npm publish --provenance --tag ${{ env.NPM_TAG }}
6161
env:
6262
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
63-
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)