Skip to content

Commit

Permalink
chore: add back lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 committed Apr 21, 2024
1 parent 690c73e commit 96be854
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,27 @@ jobs:
uses: actions/checkout@v3
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
- uses: oven-sh/setup-bun@v1

- name: Install Node.js
uses: actions/setup-node@v2

- name: Install PNPM
uses: pnpm/action-setup@6e1964dde3397a825e79e4607ad57f3f7ca2c7cb
with:
node-version: 20
version: 8.6.3

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
- name: Set up Node v18
uses: actions/setup-node@v3
with:
version: 8.12.1
run_install: true
node-version: "18"
cache: "pnpm"
registry-url: " https://registry.npmjs.org"

- name: Install dependencies
run: pnpm install -r

- name: Install turbo globally
run: pnpm install -g turbo

- name: Build packages
run: rm bun.lockb && pnpm turbo run build
run: mv bun.lockb bun.inert && pnpm turbo run build ; mv bun.inert bun.lockb

- name: Apply version changes to packages
run: pnpm run changeset:version
Expand All @@ -42,10 +44,10 @@ jobs:
message: "chore: release"
push: true

- name: Recursive Release
- name: Release
run: pnpm recursive publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# docker:
# runs-on: ubuntu-latest
Expand Down
Binary file added bun.lockb
Binary file not shown.

0 comments on commit 96be854

Please sign in to comment.