Skip to content

Commit

Permalink
fix: 🧩 ci构建问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumbiu committed Aug 12, 2023
1 parent 60cce21 commit 7e50d5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/docs-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
- name: Install pnpm
uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
with:
version: 7
- name: Setup Node
uses: actions/setup-node@v3
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: checkout code repository
- name: Checkout code repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: setup node.js
- name: Setup node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: dependenies install
- name: Install dependencies
run: pnpm install
- name: Setup npmrc
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
- name: start build
- name: Build with Truth-cli
run: pnpm build
- name: create and publish versions
- name: Create and publish versions
uses: changesets/action@v1
with:
version: pnpm changeset version
Expand Down

0 comments on commit 7e50d5c

Please sign in to comment.