mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 03:56:59 +00:00
chore: update github action versions
This commit is contained in:
parent
f50b49d63e
commit
35f20dc00b
2 changed files with 8 additions and 8 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -17,16 +17,16 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
- uses: denoland/setup-deno@v1
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: "1.x"
|
||||
deno-version: "v2.x"
|
||||
- name: Get tag version
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
id: get_tag_version
|
||||
run: echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
node-version: "22"
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
|
|
|
|||
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
|
@ -8,12 +8,12 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
deno: ["1.x"]
|
||||
deno: ["v2.x"]
|
||||
name: Test Deno on Version ${{ matrix.deno }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
- uses: denoland/setup-deno@v1
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: ${{ matrix.deno }}
|
||||
- name: Run tests in Deno
|
||||
|
|
@ -22,13 +22,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
deno: ["1.x"]
|
||||
node: ["20", "21"]
|
||||
deno: ["v2.x"]
|
||||
node: ["22", "23"]
|
||||
name: Test Node on Version ${{ matrix.node }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
- uses: denoland/setup-deno@v1
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: ${{ matrix.deno }}
|
||||
- uses: actions/setup-node@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue