-
Notifications
You must be signed in to change notification settings - Fork 47
39 lines (32 loc) · 932 Bytes
/
ci.yml
File metadata and controls
39 lines (32 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
node:
name: node v${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- name: Checkout Repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: the-guild-org/shared-config/setup@f4eea983237a44bb0ca19c3348dacbfdfcdbec23 # main
name: setup env
with:
nodeVersion: ${{ matrix.node-version }}
- name: Build Packages
run: yarn build
- name: Test
run: yarn test
- name: Node.js integrity check
run: yarn bob check
# - name: Test example ESM Build
# run: yarn workspace javascript-esm-example run build-client
# - name: Test example CJS Build
# run: yarn workspace javascript-cjs-example run build-client