Skip to content

Commit 1c97f0c

Browse files
authored
Merge pull request #16 from DoneDeal0/use-npm-for-ci
use npm for ci
2 parents fd721c5 + e79d949 commit 1c97f0c

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/superdiff.yml

+5-11
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,18 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [16.x, 18.x]
15+
node-version: [18.x]
1616

1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Use Node.js ${{ matrix.node-version }}
2020
uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
cache: "yarn"
23+
cache: "npm"
2424
- name: Install dependencies
25-
uses: borales/actions-yarn@v4
26-
with:
27-
cmd: install
25+
run: npm install
2826
- name: Build app
29-
uses: borales/actions-yarn@v4
30-
with:
31-
cmd: build
27+
run: npm run build
3228
- name: Test app
33-
uses: borales/actions-yarn@v4
34-
with:
35-
cmd: test
29+
run: npm test

0 commit comments

Comments
 (0)