From c5a0fa7ee5682921ae26ac3857c3c3bd6d6a8236 Mon Sep 17 00:00:00 2001 From: Krishan <33421343+kfiven@users.noreply.github.com> Date: Mon, 7 Nov 2022 15:29:43 +0530 Subject: [PATCH] add cache option for actions --- .github/workflows/tauri.yml | 12 ++++++++---- .github/workflows/test.yml | 3 ++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index 7a172b2..316b1f6 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -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: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3f5c2fb..90183f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: