Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
raheeliftikhar5 committed Jan 4, 2024
1 parent 763b6f1 commit a987f29
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/publish-comps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,28 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
# Use this GitHub Action
- name: Check package version
uses: technote-space/package-version-check-action@v1
with:
COMMIT_DISABLED: 1
# - run: cat .npmrc
- run: echo ${{ secrets }}
- name: Install dependencies
uses: borales/[email protected]
with:
cmd: install
dir: client/packages/lowcoder-comps
- name: Publish
- name: Run tests
uses: borales/[email protected]
with:
cmd: test
dir: client/packages/lowcoder-comps
- name: Publish
uses: JS-DevTools/npm-publish@v3
with:
cmd: build_publish
dir: client/packages/lowcoder-comps
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}
# - name: Publish
# uses: borales/[email protected]
# with:
# cmd: build_publish
# dir: client/packages/lowcoder-comps
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a987f29

Please sign in to comment.