Merge pull request #848 from hit-pay/feature/hit-10614-fix-orchid-add… #607
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
on: | |
push: | |
branches: main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Running ci | |
run: npm ci | |
- name: Install dependencies | |
run: cd packages/vue && npm install | |
- name: build orchid package | |
run: cd packages/vue && npm run build | |
- name: Update version package | |
run: cd packages/vue && npm version patch | |
- name: Publish package | |
run: cd packages/vue && npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Authenticate with GitHub package registry | |
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc |