diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 3f95f29..f1a5f04 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -9,14 +9,14 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 + id: setup-node with: registry-url: "https://registry.npmjs.org" - - - name: Cache node_modules - uses: actions/cache@v2 + cache: "npm" - name: Install dependencies run: npm install + if: steps.setup-node.outputs.cache-hit != 'true' env: NODE_AUTH_TOKEN: ${{ secrets.ENVOYBOT_PERSONAL_ACCESS_TOKEN }}