Skip to content

Commit

Permalink
fix: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed May 13, 2022
1 parent b302b70 commit 8757c75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@ jobs:
token: ${{ secrets.ACCESS_TOKEN }}
fetch-depth: 0

- name: 🤝 Set Node version from .nvmrc
run: echo NVMRC=`cat .nvmrc` >> $GITHUB_ENV

- name: ⎔ Setup node
# sets up the .npmrc file to publish to npm
uses: actions/setup-node@v2
with:
node-version: ${{ env.NVMRC }}
registry-url: "https://registry.npmjs.org"
node-version: '16.13.0'

- name: 📥 Download deps
uses: bahmutov/npm-install@v1
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"build": "vite build",
"serve": "vite preview",
"precommit": "lint-staged",
"prepublish": "npm build",
"prettier": "prettier -c --write \"src/**/*\"",
"prerelease": "npm run build",
"release": "standard-version",
Expand Down

0 comments on commit 8757c75

Please sign in to comment.