Skip to content

Commit

Permalink
build: fix publish npm package E404
Browse files Browse the repository at this point in the history
  • Loading branch information
preflower authored Jan 3, 2022
1 parent d3c3c50 commit c70f369
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ on:
push:
branches:
- master
paths:
- '**/package.json'
- '.changeset/**'
- '.github/workflows/release.yml'
env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store
Expand All @@ -23,11 +19,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- name: Install pnpm
run: npm i pnpm@latest -g
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: Setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: Install dependencies
Expand All @@ -41,3 +34,4 @@ jobs:
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c70f369

Please sign in to comment.