Skip to content

Commit

Permalink
ci: add 22 in tests and bump action version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Sep 12, 2024
1 parent c84b2d4 commit f1fea20
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,25 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ['18', '20']
bundler: ['vite', 'webpack']
os:
- ubuntu-latest
- windows-latest
- macos-latest
node:
- 18
- 20
- 22
bundler:
- vite
- webpack

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
Expand All @@ -47,7 +55,8 @@ jobs:
if: ${{ always() }}
name: check-docs result
runs-on: ubuntu-latest
needs: [check-docs]
needs:
- check-docs
steps:
- if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}
run: exit 1
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/issue-commented.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: issue-commented

on:
issue_comment:
types: [created]
types:
- created

jobs:
issue-commented:
Expand Down

0 comments on commit f1fea20

Please sign in to comment.