We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e43c92a commit 75fa5ecCopy full SHA for 75fa5ec
.github/workflows/build.yml
@@ -5,16 +5,15 @@ jobs:
5
Ubuntu:
6
runs-on: ubuntu-latest
7
steps:
8
- - uses: actions/checkout@v1
9
- - uses: actions/setup-node@v1
10
- with:
11
- node-version: 16.x
12
- - uses: actions/cache@v3
+ - name: Checkout source code.
+ uses: actions/checkout@v3
+
+ - name: Install Node.js
+ uses: actions/setup-node@v3
13
with:
14
- path: ~/.npm
15
- key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
16
- restore-keys: |
17
- ${{ runner.os }}-node-
+ node-version: 18.x
+ cache: 'npm'
18
- run: npm install
19
- run: npm run build
20
- run: npm run test
0 commit comments