Skip to content

Commit

Permalink
chore: update ci, create npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Jun 28, 2024
1 parent 4c66e15 commit fb97edd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test_published_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,17 @@ jobs:
node-version: '20'
cache: 'pnpm'

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
@tidbcloud:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=$PKG_TOKEN
EOF
env:
PKG_TOKEN: ${{ secrets.PKG_TOKEN }}

- name: Install Dependencies
run: pnpm i

- name: Build Package
- name: Build Playground
run: pnpm build:playground

0 comments on commit fb97edd

Please sign in to comment.