File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build & Test
2+ on :
3+ push :
4+ branches-ignore :
5+ - gh-page
6+ workflow_dispatch :
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ strategy :
12+ matrix :
13+ node-version : ['20']
14+ name : Build using Node v${{ matrix.node-version }}
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+ - name : Use Node.js ${{ matrix.node-version }}
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : ${{ matrix.node-version }}
22+ cache : npm
23+ - run : npm install
24+ - run : npm run build
25+ - run : npm run dev
26+ env :
27+ CI : true
28+
29+ test :
30+ runs-on : ubuntu-latest
31+ strategy :
32+ matrix :
33+ node-version : ['20']
34+ name : Test using Node v${{ matrix.node-version }}
35+ steps :
36+ - name : Checkout
37+ uses : actions/checkout@v3
38+ - name : Use Node.js ${{ matrix.node-version }}
39+ uses : actions/setup-node@v3
40+ with :
41+ node-version : ${{ matrix.node-version }}
42+ cache : npm
43+ - run : npm install
44+ - run : npm run build
45+ env :
46+ CI : true
You can’t perform that action at this time.
0 commit comments