Skip to content

Commit

Permalink
update release-subpackages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed May 29, 2024
1 parent e2b158a commit 7a1ab89
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release-subpackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

Expand All @@ -49,6 +48,14 @@ jobs:
yarn global add node-gyp
yarn --frozen-lockfile
- name: Setup .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Snapshot release to npm
run: |
yarn release-subpackages:next
Expand Down

0 comments on commit 7a1ab89

Please sign in to comment.