Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
callqh committed Apr 11, 2024
1 parent 5e87bc6 commit 22b3d3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-hats-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"farm-plugin-remove-console": patch
---

choer: update ci
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
test -f ./npm/${abi}/index.farm
done
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js 20
uses: actions/setup-node@v3
Expand All @@ -47,8 +44,11 @@ jobs:
- name: Install Dependencies
run: npm install -g pnpm@8.15.1 && pnpm i --frozen-lockfile

- name: Create .npmrc file
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc

- name: Publish to npm
run: pnpm bump && npm set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} && npm publish
run: pnpm bump && npm set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} && npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"scripts": {
"build": "farm-plugin-tools build --platform --cargo-name farm_plugin_remove_console -p farm_plugin_remove_console --release",
"bump": "npx changeset version",
"release": "node ./scripts/release.mjs",
"prepublishOnly": "farm-plugin-tools prepublish"
},
"files": [
Expand Down

0 comments on commit 22b3d3c

Please sign in to comment.