|
1 |
| -name: 'cli' |
| 1 | +name: "cli" |
2 | 2 |
|
3 | 3 | on:
|
4 | 4 | push:
|
|
8 | 8 |
|
9 | 9 | jobs:
|
10 | 10 | lint:
|
11 |
| - runs-on: 'ubuntu-latest' |
| 11 | + runs-on: "ubuntu-latest" |
12 | 12 | steps:
|
13 |
| - - uses: 'actions/[email protected]' |
| 13 | + - uses: "actions/[email protected]" |
14 | 14 |
|
15 |
| - - name: 'Setup Node.js' |
16 |
| - |
| 15 | + - name: "Setup Node.js" |
| 16 | + |
17 | 17 | with:
|
18 |
| - node-version: 'lts/*' |
19 |
| - cache: 'npm' |
| 18 | + node-version: "lts/*" |
| 19 | + cache: "npm" |
20 | 20 |
|
21 |
| - - name: 'Install dependencies' |
22 |
| - run: 'npm clean-install' |
| 21 | + - name: "Install dependencies" |
| 22 | + run: "npm clean-install" |
23 | 23 |
|
24 | 24 | - run: 'npm run lint:commit -- --to "${{ github.sha }}"'
|
25 |
| - - run: 'npm run lint:editorconfig' |
26 |
| - - run: 'npm run lint:markdown' |
27 |
| - - run: 'npm run lint:eslint' |
| 25 | + - run: "npm run lint:editorconfig" |
| 26 | + - run: "npm run lint:markdown" |
| 27 | + - run: "npm run lint:eslint" |
28 | 28 |
|
29 | 29 | build:
|
30 |
| - runs-on: 'ubuntu-latest' |
| 30 | + runs-on: "ubuntu-latest" |
31 | 31 | steps:
|
32 |
| - - uses: 'actions/[email protected]' |
| 32 | + - uses: "actions/[email protected]" |
33 | 33 |
|
34 |
| - - name: 'Setup Node.js' |
35 |
| - |
| 34 | + - name: "Setup Node.js" |
| 35 | + |
36 | 36 | with:
|
37 |
| - node-version: 'lts/*' |
38 |
| - cache: 'npm' |
| 37 | + node-version: "lts/*" |
| 38 | + cache: "npm" |
39 | 39 |
|
40 |
| - - name: 'Install dependencies' |
41 |
| - run: 'npm clean-install' |
| 40 | + - name: "Install dependencies" |
| 41 | + run: "npm clean-install" |
42 | 42 |
|
43 |
| - - name: 'Build' |
44 |
| - run: 'npm run build' |
| 43 | + - name: "Build" |
| 44 | + run: "npm run build" |
45 | 45 |
|
46 |
| - - run: 'npm run build:typescript' |
| 46 | + - run: "npm run build:typescript" |
47 | 47 |
|
48 | 48 | test:
|
49 |
| - runs-on: 'ubuntu-latest' |
| 49 | + runs-on: "ubuntu-latest" |
50 | 50 | steps:
|
51 |
| - - uses: 'actions/[email protected]' |
| 51 | + - uses: "actions/[email protected]" |
52 | 52 |
|
53 |
| - - name: 'Setup Docker' |
54 |
| - uses: 'actions-hub/docker/cli@master' |
| 53 | + - name: "Setup Docker" |
| 54 | + uses: "actions-hub/docker/cli@master" |
55 | 55 | env:
|
56 | 56 | SKIP_LOGIN: true
|
57 | 57 |
|
58 |
| - - name: 'Setup Node.js' |
59 |
| - |
| 58 | + - name: "Setup Node.js" |
| 59 | + |
60 | 60 | with:
|
61 |
| - node-version: 'lts/*' |
62 |
| - cache: 'npm' |
| 61 | + node-version: "lts/*" |
| 62 | + cache: "npm" |
63 | 63 |
|
64 |
| - - name: 'Install dependencies' |
65 |
| - run: 'npm clean-install' |
| 64 | + - name: "Install dependencies" |
| 65 | + run: "npm clean-install" |
66 | 66 |
|
67 |
| - - name: 'Build' |
68 |
| - run: 'npm run build' |
| 67 | + - name: "Build" |
| 68 | + run: "npm run build" |
69 | 69 |
|
70 |
| - - name: 'Test' |
71 |
| - run: 'npm run test' |
| 70 | + - name: "Test" |
| 71 | + run: "npm run test" |
0 commit comments