mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-11 18:59:05 +00:00
chore: update action versions
This commit is contained in:
parent
4003c6bb53
commit
15c9b55df7
2 changed files with 15 additions and 20 deletions
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
|
|
@ -9,9 +9,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
- uses: denoland/setup-deno@v2
|
- uses: denoland/setup-deno@v2
|
||||||
with:
|
with:
|
||||||
deno-version: v2.x
|
deno-version: "latest"
|
||||||
- name: Lint Package with Biome
|
- name: Lint Package with Biome
|
||||||
run: deno task lint
|
run: deno task lint
|
||||||
|
|
|
||||||
31
.github/workflows/test.yml
vendored
31
.github/workflows/test.yml
vendored
|
|
@ -23,30 +23,25 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
deno: ["v2.x"]
|
deno: ["v2.x"]
|
||||||
node: ["22", "23"]
|
node: ["26", "25", "24"]
|
||||||
name: Test Node on Version ${{ matrix.node }}
|
name: Test Node on Version ${{ matrix.node }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- uses: denoland/setup-deno@v2
|
- uses: denoland/setup-deno@v2
|
||||||
with:
|
with:
|
||||||
deno-version: ${{ matrix.deno }}
|
deno-version: "latest"
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: '24'
|
||||||
- uses: pnpm/action-setup@v4
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
package-manager-cache: false # never use caching in release builds
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v6
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: 11
|
||||||
- name: Get pnpm store directory
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
name: Setup pnpm cache
|
|
||||||
with:
|
|
||||||
path: ${{ env.STORE_PATH }}
|
|
||||||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pnpm-store-
|
|
||||||
- name: Build and test node
|
- name: Build and test node
|
||||||
run: deno task npm 0.0.0
|
run: deno task npm 0.0.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue