镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup node ${{ env.PRIMARY_NODEJS_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: ${{ env.PRIMARY_NODEJS_VERSION }}
cache: "npm"
Expand All @@ -26,9 +26,9 @@ jobs:
name: Test bundle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup node ${{ env.PRIMARY_NODEJS_VERSION }}
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: ${{ env.PRIMARY_NODEJS_VERSION }}
cache: "npm"
Expand All @@ -47,11 +47,16 @@ jobs:
- 12.20.0
- 14.13.0
- 16
- 18
- 20
- 22
- 24
- 26

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Setup node ${{ matrix.node_version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node_version }}
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v6
with:
node-version: 16
- run: npm ci --ignore-scripts
Expand Down