-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
763b6f1
commit a987f29
Showing
1 changed file
with
14 additions
and
8 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |