Browse Source

CI: bump github action dependencies

SukkaW 3 years ago
parent
commit
390f240ea8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/main.yml

+ 3 - 2
.github/workflows/main.yml

@@ -17,13 +17,14 @@ jobs:
 
 
     steps:
     steps:
     - name: Checkout
     - name: Checkout
-      uses: actions/checkout@v2
+      uses: actions/checkout@v3
       with:
       with:
         persist-credentials: false
         persist-credentials: false
     - name: Use Node.js ${{ matrix.node-version }}
     - name: Use Node.js ${{ matrix.node-version }}
-      uses: actions/setup-node@v2
+      uses: actions/setup-node@v3
       with:
       with:
         node-version: ${{ matrix.node-version }}
         node-version: ${{ matrix.node-version }}
+        cache: 'npm'
     - run: npm i
     - run: npm i
     - run: npm run build
     - run: npm run build
     - name: Deploy
     - name: Deploy