Skip to content

Commit

Permalink
fix: added pnpm to release action, fixed resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
kouts committed Aug 16, 2024
1 parent 7c54194 commit 0fcd0ed
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 189 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/release-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,32 @@ jobs:

steps:
- name: Checkout 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup node env 🏗
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true

- name: Setup pnpm 📦
uses: pnpm/action-setup@v4
with:
version: 9.7.1

- name: Install dependencies 📦
run: npm install
run: pnpm install

- name: Install semantic-release extra plugins 📦
run: npm install --save-dev @semantic-release/changelog @semantic-release/git
run: pnpm install --save-dev @semantic-release/changelog @semantic-release/git

- name: Run linter 👀
run: npm run lint-fix
run: pnpm run lint-fix

- name: Run tests 🧪
run: npm run test:unit
run: pnpm run test:unit

- name: Release
env:
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@
"vitest": "^2.0.5",
"vue": "^3.4.38",
"vuepress": "2.0.0-rc.15"
},
"resolutions": {
"@typescript-eslint/utils": "^8.0.0",
"vuepress": "2.0.0-rc.15"
}
}
Loading

0 comments on commit 0fcd0ed

Please sign in to comment.