Skip to content

Commit

Permalink
Change node to latest LTS version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danieladugyan committed Oct 19, 2023
1 parent 5a68fa6 commit 99cc78a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,15 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js latest LTS
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: lts/*
cache: "pnpm"
- run: pnpm i
- run: pnpm run build
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"dev": "vite dev",
"dev-setup": "vite-node dev/setup.ts",
"build": "vite build",
"prepare": "svelte-kit sync && prisma generate",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down

0 comments on commit 99cc78a

Please sign in to comment.