Skip to content

Commit

Permalink
monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
mpppk committed Dec 11, 2024
1 parent f287a60 commit 04979db
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci -w packages/typed-api-spec
- run: npm run build -w packages/typed-api-spec
- run: npm test -w packages/typed-api-spec
- run: npm ci -w pkgs/typed-api-spec
- run: npm run build -w pkgs/typed-api-spec
- run: npm test -w pkgs/typed-api-spec
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/configure-pages@v5
- run: npm --prefix docs ci -w packages/docs
- run: npm --prefix docs run build -w packages/docs
- run: npm --prefix docs ci -w pkgs/docs
- run: npm --prefix docs run build -w pkgs/docs
4 changes: 2 additions & 2 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/configure-pages@v5
- run: npm --prefix docs ci -w packages/docs
- run: npm --prefix docs run build -w packages/docs
- run: npm --prefix docs ci -w pkgs/docs
- run: npm --prefix docs run build -w pkgs/docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
node-version: "22.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- run: npm run build -w packages/docs
- run: npm publish -w packages/docs --access public
- run: npm run build -w pkgs/docs
- run: npm publish -w pkgs/docs --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 04979db

Please sign in to comment.