Skip to content

Commit

Permalink
Merge pull request #179 from Shopify/fix-typescript-npm-release-token
Browse files Browse the repository at this point in the history
Fix NPM Release workflow
  • Loading branch information
kennygoff authored May 30, 2024
2 parents 768ae0e + 032af73 commit ec1f7a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
defaults:
run:
working-directory: lang/typescript
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand All @@ -33,4 +34,4 @@ jobs:
publish: pnpm release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion lang/typescript/.changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
Expand Down
3 changes: 2 additions & 1 deletion lang/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"repository": "git@github.com:Shopify/worldwide.git",
"author": "Shopify Inc.",
"license": "MIT",
"private": true,
"publishConfig": {
"access": "public"
"access": "restricted"
},
"main": "dist/index.js",
"types": "dist/src/index.d.ts",
Expand Down

0 comments on commit ec1f7a3

Please sign in to comment.