Skip to content

Commit c13e37c

Browse files
committed
move
1 parent 7dfeeec commit c13e37c

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,28 @@ jobs:
2626
uses: ./.github/actions/setup-and-build
2727
with:
2828
node-version: ${{ matrix.node }}
29+
2930
- name: Test Project
3031
run: export NODE_OPTIONS=--max-old-space-size=6144; npm test
3132
- name: Test building apidocs
3233
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run apidocs
3334
- name: Test building docs
3435
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build
36+
37+
- name: publint
38+
run: npx publint
39+
- name: validate package
40+
run: npx @arethetypeswrong/cli $(npm pack)
41+
42+
example:
43+
runs-on: ubuntu-latest
44+
strategy:
45+
matrix:
46+
# https://nodejs.org/en/about/releases/
47+
node: [ '18', '20' ]
48+
fail-fast: false
49+
name: Node.js ${{ matrix.node }}
50+
steps:
3551
- name: Test building examples (CJS)
3652
run: |
3753
cd examples/echo-bot-ts-cjs
@@ -46,7 +62,3 @@ jobs:
4662
npm install
4763
npm run build
4864
cd -
49-
- name: publint
50-
run: npx publint
51-
- name: validate package
52-
run: npx @arethetypeswrong/cli $(npm pack)

0 commit comments

Comments
 (0)