Skip to content
Closed
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
44 changes: 43 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
- "*"
- lts/*
- lts/-1
bundle:
- "true"
include:
- node-version: "*"
bundle: "false"

name: Test Node ${{ matrix.node-version }} with --bundle=${{ matrix.bundle }}

steps:
- uses: actions/checkout@v3
Expand All @@ -32,7 +39,7 @@ jobs:
- run: npm ci

- name: Tests
run: npm test
run: npm run test -- --bundle=${{ matrix.bundle }}

lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -68,6 +75,21 @@ jobs:
- name: Validate the browser can import TypeScript
run: gulp test-browser-integration

typecheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "*"
check-latest: true
- run: npm ci

- name: Build src
run: npx hereby build-src


misc:
runs-on: ubuntu-latest

Expand All @@ -84,3 +106,23 @@ jobs:

- name: ESLint tests
run: gulp run-eslint-rules-tests

self-check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "*"
check-latest: true
- run: npm ci

- name: Build tsc
run: gulp tsc

- name: Clean
run: gulp clean-src

- name: Self build
run: gulp build-src --built
Loading