diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83833d2570..83a74a0e76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20.9.0 - - name: Install pnpm - run: npm install -g pnpm - name: Test run: ./scripts/audit.sh tests: @@ -36,7 +34,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20.9.0 - cache: 'pnpm' + - name: Install pnpm + run: npm install -g pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build icons @@ -53,7 +52,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20.9.0 - cache: 'pnpm' + - name: Install pnpm + run: npm install -g pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build presets @@ -69,7 +69,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20.9.0 - cache: 'pnpm' + - name: Install pnpm + run: npm install -g pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build icons @@ -95,7 +96,8 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20.9.0 - cache: 'pnpm' + - name: Install pnpm + run: npm install -g pnpm - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build icons diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index cca2417f08..cc126cc2e2 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -11,13 +11,12 @@ jobs: runs-on: ubuntu-latest name: build and deploy the release steps: - - name: Install pnpm - run: npm install -g pnpm - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20.9.0 - cache: 'pnpm' + - name: Install pnpm + run: npm install -g pnpm - name: Get tag id: tag uses: dawidd6/action-get-tag@v1