Skip to content

Commit

Permalink
ci: upgrade node to 18
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklin committed Jan 30, 2023
1 parent 5d2044a commit 02e98c7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,22 @@ jobs:
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18
cache: pnpm
registry-url: "https://registry.npmjs.org"

- run: npx changelogithub
continue-on-error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Install Dependencies
run: pnpm i

- name: PNPM build
run: pnpm run build

- name: Publish to NPM
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"release": "bumpp",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit",
Expand Down

0 comments on commit 02e98c7

Please sign in to comment.