Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zcf0508 committed Dec 21, 2023
1 parent 10a736a commit ba04d69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Install
run: pnpm i

- name: Build eslint
run: pnpm run build:eslint

- name: Lint
run: pnpm run lint

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
- name: PNPM build eslint-plugin
run: pnpm run build:eslint

- name: Publish eslint-plugin to NPM
run: pnpm publish --access public --no-git-checks
working-directory: ./packages/eslint
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true
# - name: Publish eslint-plugin to NPM
# run: pnpm publish --access public --no-git-checks
# working-directory: ./packages/eslint
# env:
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
# NPM_CONFIG_PROVENANCE: true

- name: Publish to VSCE
run: pnpm vsce publish --no-dependencies -p ${{secrets.VSCE_TOKEN}}
Expand Down

0 comments on commit ba04d69

Please sign in to comment.