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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6.0.3
uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v6
Expand Down
90 changes: 45 additions & 45 deletions .github/workflows/coverage.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
name: Coverage
on:
workflow_call:
push:
branches-ignore:
- main
permissions:
contents: read
jobs:
coverage:
name: Coverage
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v6.0.3
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
registry-url: "https://registry.npmjs.org"
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Upload coverage
if: runner.os == 'Linux'
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
fail_ci_if_error: true
name: Test
on:
workflow_call:
push:
branches-ignore:
- main

permissions:
contents: read

jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: npm
registry-url: "https://registry.npmjs.org"

- name: Install Dependencies
run: npm ci

- name: Build
run: npm run build

- name: Test
run: npm test

- name: Upload coverage
if: runner.os == 'Linux'
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
fail_ci_if_error: true
Loading
Loading