diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 752520fd..e3ad1b47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,9 @@ jobs: - uses: actions/checkout@v3 - name: setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 + with: + cache: 'npm' - name: install Rust stable uses: dtolnay/rust-toolchain@stable @@ -28,21 +30,8 @@ jobs: with: workspaces: "./backend -> target" - - name: Get npm store directory - shell: bash - run: | - echo "STORE_PATH=$(npm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v3 - name: Setup npm cache - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-npm-store-${{ hashFiles('**/package.lock.json') }} - restore-keys: | - ${{ runner.os }}-npm-store- - - name: Install frontend dependencies - run: npm install + run: npm ci - name: Build id: build