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
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: v2.x
|
||||
deno-version: "latest"
|
||||
- name: Lint Package with Biome
|
||||
run: deno task lint
|
||||
|
|
|
|||
31
.github/workflows/test.yml
vendored
31
.github/workflows/test.yml
vendored
|
|
@ -23,30 +23,25 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
deno: ["v2.x"]
|
||||
node: ["22", "23"]
|
||||
node: ["26", "25", "24"]
|
||||
name: Test Node on Version ${{ matrix.node }}
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- uses: denoland/setup-deno@v2
|
||||
with:
|
||||
deno-version: ${{ matrix.deno }}
|
||||
- uses: actions/setup-node@v4
|
||||
deno-version: "latest"
|
||||
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- uses: pnpm/action-setup@v4
|
||||
node-version: '24'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
package-manager-cache: false # never use caching in release builds
|
||||
|
||||
- uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: latest
|
||||
- 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-
|
||||
version: 11
|
||||
|
||||
- name: Build and test node
|
||||
run: deno task npm 0.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue