Skip to content
Merged
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
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
push:
branches: ["main"]

env:
NODE_VERSION: 18

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ on:
workflow_dispatch:

env:
# Node 22, not the 18 used by deploy.yaml: vitest 4 needs `styleText` from
# node:util (Node 20+). This only affects how tests and the build are run --
# the published artifacts target browsers, not a Node runtime.
# vitest 4 needs `styleText` from node:util (Node 20+). This only affects how
# tests and the build are run -- the published artifacts target browsers.
NODE_VERSION: 22

jobs:
Expand All @@ -23,6 +22,9 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
# Without this, setup-node uses the runner image's cached Node, which
# can lag a security patch by days.
check-latest: true
cache: "npm"

- name: Install dependencies
Expand Down
Loading