File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 branches: [ main ]
1313
1414jobs:
15+ lint:
16+
17+ runs-on: ubuntu-latest
18+
19+ steps:
20+ - uses: actions/checkout@v3
21+
22+ - name: Use Node.js 16.14.2
23+ uses: actions/setup-node@v3
24+ with:
25+ node-version: 16.14.2
26+
27+ - name: Setup
28+ run: npm i -g @antfu/ni
29+
30+ - name: Install
31+ run: nci
32+
33+ - name: Lint
34+ run: nr lint
35+
1536 build:
1637
1738 runs-on: ubuntu-latest
@@ -24,11 +45,16 @@ jobs:
2445 with:
2546 node-version: 16.14.2
2647
27- - run: npm ci
48+ - name: Setup
49+ run: npm i -g @antfu/ni
50+
51+ - name: Install
52+ run: nci
2853
29- - run: npm run build
54+ - name: Build
55+ run: nr build
3056
31- # TODO: Add more steps here, like "npm run lint" or "npm run test" as you add the tooling for it
57+ # TODO: Add more steps here, like "nr test" as you add the tooling for it
3258`
3359
3460export default async ( preferences : Preferences , templateDir : string ) => {
You can’t perform that action at this time.
0 commit comments