Skip to content

Merge pull request #3 from kaiachain/implement-cicd #2

Merge pull request #3 from kaiachain/implement-cicd

Merge pull request #3 from kaiachain/implement-cicd #2

Workflow file for this run

name: "package publishing"
on:
push:
branches: ["main"]
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install dependencies & build package
run : |
yarn install && yarn build
- name: publish package
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
npx pnpm --filter @kaiachain/kaia-design-system -r publish --publish-branch main --no-git-check --access=public