Browse Source

Workaround npm/cli#7657

Lutz Roeder 1 year ago
parent
commit
ca09b0613c
2 changed files with 5 additions and 5 deletions
  1. 3 3
      .github/workflows/build.yml
  2. 2 2
      .github/workflows/publish.yml

+ 3 - 3
.github/workflows/build.yml

@@ -24,14 +24,14 @@ jobs:
       - name: Install Node.js
         uses: actions/setup-node@v4
         with:
-          node-version: latest
+          node-version: 22.4.1
 
       - name: Install Python
         uses: actions/setup-python@v5
         with:
-          python-version: '3.11'
+          python-version: 3.11
 
-      - name: Install npm packages 
+      - name: Install npm packages
         run: npm install
 
       - name: Validate

+ 2 - 2
.github/workflows/publish.yml

@@ -25,12 +25,12 @@ jobs:
       - name: Install Node.js
         uses: actions/setup-node@v4
         with:
-          node-version: latest
+          node-version: 22.4.1
 
       - name: Install Python
         uses: actions/setup-python@v5
         with:
-          python-version: '3.11'
+          python-version: 3.11
 
       - name: Install npm packages 
         run: npm install