aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-03-01 16:51:40 -0800
committerFuwn <[email protected]>2026-03-01 16:54:10 -0800
commit73e8fb4fd0445b2d4a9ab626bd5d4ac6b443a3f2 (patch)
tree3759a756bfc97fdf2bb9f08fa49e516aee00451c /.github/workflows
parentchore(tooling): remove npm lockfile from pnpm-managed repo (diff)
downloaddue.moe-73e8fb4fd0445b2d4a9ab626bd5d4ac6b443a3f2.tar.xz
due.moe-73e8fb4fd0445b2d4a9ab626bd5d4ac6b443a3f2.zip
chore(trigger): migrate project setup from v3 to v4
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release-trigger-prod.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/.github/workflows/release-trigger-prod.yml b/.github/workflows/release-trigger-prod.yml
index bdfa60d5..695073c8 100644
--- a/.github/workflows/release-trigger-prod.yml
+++ b/.github/workflows/release-trigger-prod.yml
@@ -15,18 +15,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- - name: Use Node.js 20.x
+ - 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.x'
+ node-version: 20
+ cache: pnpm
- name: Install dependencies
- run: npm install --force
+ run: pnpm install --frozen-lockfile
- name: 🚀 Deploy Trigger.dev
env:
TRIGGER_ACCESS_TOKEN: ${{ secrets.TRIGGER_ACCESS_TOKEN }}
run: |
- npx trigger.dev@beta deploy --skip-typecheck
+ pnpm dlx [email protected] deploy --skip-typecheck