We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3225d22 + f8aa560 commit c18110eCopy full SHA for c18110e
.github/workflows/typescript.yaml
@@ -1,16 +1,10 @@
1
name: TypeScript Continuous integration tests
2
3
-on:
4
- push:
5
- branches: [ main ]
6
- pull_request:
7
+on: [push, pull_request]
8
9
concurrency:
10
group: build-${{ github.event.pull_request.number || github.ref }}
11
cancel-in-progress: true
12
-env:
13
- NODE_VERSION: 17.x
14
15
jobs:
16
@@ -23,7 +17,9 @@ jobs:
23
17
- uses: actions/checkout@v5
24
18
- uses: actions/setup-node@v5
25
19
with:
26
- node-version: ${{ env.NODE_VERSION }}
20
+ node-version: '20'
21
+ cache: 'npm'
22
+ cache-dependency-path: typescript/package-lock.json
27
- run: node --version
28
- run: npm install
29
- run: npm test
0 commit comments