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
25 changes: 12 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ name: Install Dependencies, Lint, Build and Test

on: [pull_request]

# Cancel a pull request's in-progress run when a newer commit is pushed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Lint
Expand All @@ -15,34 +20,28 @@ jobs:

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Use Node.js 24
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 26
node-version-file: .nvmrc
- name: Install Dependencies
run: npm ci
- name: Lint
run: npm run lint

test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# When node version is updated, update the version in the GitHub repository settings (admin access required):
# Branches -> Edit `main` -> Protect matching branches ->
# Require status checks to pass before merging ->
# Search for the new version -> Add them to the list ->
# Remove the old version from the list -> Save changes
node_version: [24]
os: [windows-latest, macOS-latest]

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Use Node.js ${{ matrix.node_version }}
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node_version }}
node-version-file: .nvmrc
- name: Install Dependencies
run: npm ci
- name: Build
Expand All @@ -56,10 +55,10 @@ jobs:

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Use Node.js 24
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 26
node-version-file: .nvmrc
- name: Install Dependencies
run: npm ci
- name: Install Playwright Browsers
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/capacitor-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
with:
ref: ${{ github.ref_name }}
token: ${{ secrets.IONITRON_GITHUB_TOKEN }}
- name: Configure Node
- name: Set up Node.js
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 26
node-version-file: .nvmrc
- name: Install Dependencies
run: npm ci
- name: Build
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
26
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@testing-library/dom": "^10.4.2",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/react": "^16.3.3",
"@types/node": "^24.19.2",
"@types/node": "^26.6.6",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^6.0.0",
Expand Down
5 changes: 0 additions & 5 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@
],
"groupName": "dev-tools"
},
{
"matchPackageNames": ["@types/node"],
"allowedVersions": "<25",
"description": "Keep Node's types on the major version CI runs (24)"
},
{
"matchPackageNames": ["typescript"],
"allowedVersions": "<6.0.0",
Expand Down
Loading