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 32a01d6
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 17 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,26 @@ 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"
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 +43,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.
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "tsc && gen-esm-wrapper . ./dist/index.mjs",
"build:typecheck": "tsc --noEmit",
"prepublishOnly": "rimraf dist/ && rimraf types/ && bun run build",
"prepublishOnly": "rimraf dist/ && rimraf types/ && pnpm run build",
"release": "npm publish",
"router:preserve": "ts-node scripts/pre-gen-router.ts",
"router:restore": "ts-node scripts/post-gen-router.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-guilded-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"build": "tsc",
"build:typecheck": "tsc --noEmit",
"prepublishOnly": "rimraf dist/ && rimraf types/ && bun run build",
"prepublishOnly": "rimraf dist/ && rimraf types/ && pnpm run build",
"release": "npm publish"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gil/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "ts-node test/index.ts",
"build": "tsc && gen-esm-wrapper . ./dist/index.mjs",
"build:typecheck": "tsc --noEmit",
"prepublishOnly": "rimraf dist/ && rimraf types/ && bun run build",
"prepublishOnly": "rimraf dist/ && rimraf types/ && pnpm run build",
"release": "npm publish"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "tsc && gen-esm-wrapper . ./dist/index.mjs",
"build:typecheck": "tsc --noEmit",
"prepublishOnly": "rimraf dist/ && rimraf types/ && bun run build",
"prepublishOnly": "rimraf dist/ && rimraf types/ && pnpm run build",
"release": "npm publish"
},
"devDependencies": {
Expand Down

0 comments on commit 32a01d6

Please sign in to comment.