Skip to content

Commit b19a853

Browse files
committed
Only run test:spdx check on Linux
1 parent 2003575 commit b19a853

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ jobs:
2828
run: npm test
2929
shell: bash
3030

31+
license-header:
32+
name: Check SPDX license header
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v4
36+
- uses: actions/setup-node@v4
37+
- name: Install
38+
run: npm install
39+
- name: License header check
40+
run: npm run test:spdx
41+
3142
test-bun:
3243
name: Test Bun
3344
strategy:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"scripts": {
1010
"build": "tsc",
11-
"test": "npm run build && npm run test:lint && npm run test:unit && npm run test:license && npm run test:spdx",
11+
"test": "npm run build && npm run test:lint && npm run test:unit && npm run test:license",
1212
"test:unit": "node --import tsx/esm --test",
1313
"test:lint": "eslint src",
1414
"test:functional:cloud": "echo 'Cloud smoke tests not yet implemented' && exit 0",

0 commit comments

Comments
 (0)