aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/quality.yml15
-rw-r--r--.github/workflows/release-trigger-prod.yml15
2 files changed, 4 insertions, 26 deletions
diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml
index 532b1f72..a67a1b28 100644
--- a/.github/workflows/quality.yml
+++ b/.github/workflows/quality.yml
@@ -13,19 +13,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Setup pnpm
- uses: pnpm/action-setup@v4
- with:
- version: 10.28.0
-
- - name: Setup Node.js
- uses: actions/setup-node@v4
- with:
- node-version: 20
- cache: pnpm
-
- - name: Install dependencies
- run: pnpm install --frozen-lockfile
+ - name: Setup toolchain
+ uses: ./.github/actions/setup-node-pnpm
- name: Generate GraphQL artifacts
run: pnpm exec sveltekit-graphql generate
diff --git a/.github/workflows/release-trigger-prod.yml b/.github/workflows/release-trigger-prod.yml
index a0691e96..410829e1 100644
--- a/.github/workflows/release-trigger-prod.yml
+++ b/.github/workflows/release-trigger-prod.yml
@@ -18,19 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Setup pnpm
- uses: pnpm/action-setup@v4
- with:
- version: 10.28.0
-
- - name: Use Node.js 20
- uses: actions/setup-node@v4
- with:
- node-version: 20
- cache: pnpm
-
- - name: Install dependencies
- run: pnpm install --frozen-lockfile
+ - name: Setup toolchain
+ uses: ./.github/actions/setup-node-pnpm
- name: 🚀 Deploy Trigger.dev
env: