From 45554af7a3bdc068e974be6ae54164bef447ec0e Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 7 Nov 2021 06:04:27 +0530 Subject: chore: don't use npm cache (since it breaks CI builds randomly) --- .github/workflows/dependency-updates.yml | 17 ----------- .github/workflows/ferdi-builds.yml | 51 -------------------------------- 2 files changed, 68 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index f49c676df..4f5e68332 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml @@ -31,23 +31,6 @@ jobs: run: | echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - - name: Cache node modules - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - path: ${{ env.NPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-16.13-build-${{ env.cache-name }}- - ${{ runner.os }}-16.13-build- - - name: Cache pnpm modules - uses: actions/cache@v2 - env: - cache-name: cache-pnpm-store - with: - path: ${{ env.PNPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Use Node.js 16.13.0 uses: actions/setup-node@v2 with: diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index ccd520fa5..b15ba44a1 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml @@ -120,23 +120,6 @@ jobs: - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - - name: Cache node modules - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - path: ${{ env.NPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-16.13-build-${{ env.cache-name }}- - ${{ runner.os }}-16.13-build- - - name: Cache pnpm modules - uses: actions/cache@v2 - env: - cache-name: cache-pnpm-store - with: - path: ${{ env.PNPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Cache electron modules uses: actions/cache@v2 env: @@ -219,23 +202,6 @@ jobs: - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - - name: Cache node modules - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - path: ${{ env.NPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-16.13-build-${{ env.cache-name }}- - ${{ runner.os }}-16.13-build- - - name: Cache pnpm modules - uses: actions/cache@v2 - env: - cache-name: cache-pnpm-store - with: - path: ${{ env.PNPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Cache electron modules uses: actions/cache@v2 env: @@ -339,23 +305,6 @@ jobs: - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV shell: bash - - name: Cache node modules - uses: actions/cache@v2 - env: - cache-name: cache-node-modules - with: - path: ${{ env.NPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-16.13-build-${{ env.cache-name }}- - ${{ runner.os }}-16.13-build- - - name: Cache pnpm modules - uses: actions/cache@v2 - env: - cache-name: cache-pnpm-store - with: - path: ${{ env.PNPM_CACHE }} - key: ${{ runner.os }}-16.13-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Cache electron modules uses: actions/cache@v2 env: -- cgit v1.2.3-54-g00ecf