]> git.kianting.info Git - uann/blobdiff - .github/workflows/node.js.yml
Update node.js.yml
[uann] / .github / workflows / node.js.yml
index eb4d9d56e02da141dc899e07a7a56f88e56f8d82..4f979a642f0badbd5419faa19b6016016d71ab95 100644 (file)
@@ -20,7 +20,10 @@ jobs:
         # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4.0.0
+      with:
+        ref: ${{ github.head_ref }}
+    - uses: actions/cache@v3.0.3
     - name: Use Node.js ${{ matrix.node-version }}
       uses: actions/setup-node@v3
       with: