Skip to content

Commit

Permalink
ci: revert migrate to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
arahiko-ayami committed Jan 9, 2024
1 parent ec10c14 commit 43cb977
Show file tree
Hide file tree
Showing 5 changed files with 16,096 additions and 8,759 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/prod-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,17 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm i --frozen-lockfile
run: npm ci

- name: Lint
run: pnpm run lint
run: npm run lint

- name: Apply all pending migrations to the database
run: pnpm prisma migrate deploy
run: npx prisma migrate deploy

- name: Deploy
run: pnpm sst deploy --stage prod

run: npx sst deploy --stage prod

Loading

0 comments on commit 43cb977

Please sign in to comment.