Skip to content

Commit

Permalink
chore:node version
Browse files Browse the repository at this point in the history
  • Loading branch information
MQpeng committed Dec 17, 2024
1 parent 25ca631 commit 4a4ca33
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm install -g pnpm
- run: pnpm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
13 changes: 7 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -26,8 +26,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm run lint:ci
- run: npm run build:publish
- run: npm test
- run: npm install -g pnpm
- run: pnpm install
- run: pnpm build --if-present
- run: pnpm lint:ci
- run: pnpm build:publish
- run: pnpm test

0 comments on commit 4a4ca33

Please sign in to comment.