diff --git a/.github/actions/setup-pnpm/action.yml b/.github/actions/setup-pnpm/action.yml deleted file mode 100644 index 45f2918c..00000000 --- a/.github/actions/setup-pnpm/action.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: 'Setup PNPM' -description: Setup PNPM - -runs: - using: 'composite' - steps: - - name: Install Node.js - uses: actions/setup-node@v3 - with: - node-version-file: .node-version - registry-url: 'https://registry.npmjs.org' - - - uses: pnpm/action-setup@v2 - name: Install pnpm - id: pnpm-install - with: - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store - - - name: Install dependencies - shell: bash - run: pnpm install diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e5aaa839..24b51967 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -45,7 +45,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - uses: ./.github/actions/setup-pnpm + - uses: nathanosdev/actions/actions/setup-pnpm@main - uses: ./.github/actions/setup-dfx diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index 9c33d730..fc47a26c 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -16,7 +16,7 @@ jobs: with: fetch-depth: 0 - - uses: ./.github/actions/setup-pnpm + - uses: nathanosdev/actions/actions/setup-pnpm@main - uses: ./.github/actions/setup-dfx diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 63f917fa..c655a95f 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - uses: ./.github/actions/setup-pnpm + - uses: nathanosdev/actions/actions/setup-pnpm@main - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8332d70f..8f05a472 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: with: fetch-depth: 0 - - uses: ./.github/actions/setup-pnpm + - uses: nathanosdev/actions/actions/setup-pnpm@main - uses: ./.github/actions/setup-dfx