diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 829929c..0eef4ff 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,12 +12,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Node.js uses: actions/setup-node@v4 with: node-version: '18' cache: 'npm' + cache-dependency-path: package-lock.json - name: Cache dependencies uses: actions/cache@v3 @@ -67,6 +70,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Node.js uses: actions/setup-node@v4 @@ -74,6 +79,7 @@ jobs: node-version: '18' registry-url: 'https://registry.npmjs.org' cache: 'npm' + cache-dependency-path: package-lock.json - name: Cache dependencies uses: actions/cache@v3 @@ -118,6 +124,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3