File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test
2+
3+ on :
4+ merge_group :
5+ workflow_dispatch :
6+ pull_request :
7+ branches : [main, early-access]
8+ push :
9+ branches : [main, early-access]
10+
11+ permissions :
12+ contents : read
13+
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.ref }}
16+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
17+
18+ env :
19+ CACHE_KEY : " ${{ github.ref }}-${{ github.run_id }}-${{ github.run_attempt }}"
20+
21+ jobs :
22+ test :
23+ strategy :
24+ matrix :
25+ node : [ 20, 22 ]
26+ name : Build Package
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Checkout code
30+ uses : actions/checkout@v4
31+
32+ - name : Setup Node.js with npm caching
33+ uses : actions/setup-node@v4
34+ with :
35+ node-version : ${{ matrix.node }}
36+ cache : " npm"
37+
38+ - name : Install dependencies
39+ run : npm install
40+
41+ - name : Build Examples
42+ run : turbo run build --filter="{./examples/*}"
You can’t perform that action at this time.
0 commit comments