Przeglądaj źródła

feat(build) use Node 20

release-8443
Saúl Ibarra Corretgé 1 rok temu
rodzic
commit
3aa7968817
2 zmienionych plików z 9 dodań i 3 usunięć
  1. 8
    3
      .github/workflows/ci.yml
  2. 1
    0
      .nvmrc

+ 8
- 3
.github/workflows/ci.yml Wyświetl plik

@@ -7,10 +7,15 @@ jobs:
7 7
     name: Build
8 8
     runs-on: ubuntu-latest
9 9
     steps:
10
-    - uses: actions/checkout@v3
11
-    - uses: actions/setup-node@v3
10
+    - uses: actions/checkout@v4
11
+    - uses: actions/setup-node@v4
12 12
       with:
13
-        node-version: 16
13
+        node-version-file: '.nvmrc'
14
+        cache: 'npm'
15
+    - name: Check Node / npm versions
16
+      run: |
17
+        node -v
18
+        npm -v
14 19
     - run: npm install
15 20
     - run: npm pack
16 21
     - name: Check git status

+ 1
- 0
.nvmrc Wyświetl plik

@@ -0,0 +1 @@
1
+20

Ładowanie…
Anuluj
Zapisz