add cache option for actions

This commit is contained in:
Krishan 2022-11-07 15:29:43 +05:30
parent c1c5858026
commit c5a0fa7ee5
2 changed files with 10 additions and 5 deletions

View file

@ -20,7 +20,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3.5.1
with:
node-version: 18.12.0
node-version: 18.12.1
cache: 'npm'
- name: Install Rust stable
uses: actions-rs/toolchain@v1.0.7
with:
@ -76,7 +77,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3.5.1
with:
node-version: 18.12.0
node-version: 18.12.1
cache: 'npm'
- name: Install Rust stable
uses: actions-rs/toolchain@v1.0.7
with:
@ -133,7 +135,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3.5.1
with:
node-version: 18.12.0
node-version: 18.12.1
cache: 'npm'
- name: Install Rust stable
uses: actions-rs/toolchain@v1.0.7
with:
@ -183,7 +186,8 @@ jobs:
# - name: Setup node
# uses: actions/setup-node@v3.4.1
# with:
# node-version: 18.12.0
# node-version: 18.12.1
# cache: 'npm'
# - name: Install Rust stable
# uses: actions-rs/toolchain@v1.0.7
# with:

View file

@ -19,7 +19,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3.5.1
with:
node-version: 18.12.0
node-version: 18.12.1
cache: 'npm'
- name: Install Rust stable
uses: actions-rs/toolchain@v1.0.7
with: