Skip to content

Commit

Permalink
Merge pull request #114 from EastSun5566/ci/bump-ci-pm-version
Browse files Browse the repository at this point in the history
ci: update Node.js version and package manager in workflows
  • Loading branch information
EastSun5566 authored Sep 18, 2024
2 parents 11ae690 + 61107df commit f3dc8bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- uses: pnpm/action-setup@v2
with:
version: 7
node-version: 18.x
- uses: pnpm/action-setup@v4
- run: |
pnpm i
pnpm test
Expand All @@ -27,11 +25,9 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: pnpm/action-setup@v4
- run: |
pnpm i
pnpm publish --no-git-checks
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- uses: pnpm/action-setup@v2
with:
version: 8
node-version: 18.x
- uses: pnpm/action-setup@v4
- run: |
pnpm i
pnpm test
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "1.1.0",
"description": "🖼 A CSS & Canvas Instagram filters based on CSSgram",
"type": "module",
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"packageManager": "[email protected]",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit f3dc8bb

Please sign in to comment.