Skip to content

Commit

Permalink
feat(canyon-data): update canyon-data github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Oct 15, 2024
1 parent cea3f1c commit 9cbc23c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/publish-canyon-data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish canyon-data

on:
push:
branches: [ "*" ]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: pnpm install
- run: pnpm --filter=canyon-data publish -f --no-git-checks --access=public --filter
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
2 changes: 1 addition & 1 deletion packages/canyon-data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "canyon-data",
"version": "0.1.1-alpha.8",
"version": "0.1.1-alpha.9",
"type": "module",
"main": "dist/canyon-data.cjs",
"module": "dist/canyon-data.js",
Expand Down

0 comments on commit 9cbc23c

Please sign in to comment.