Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 7, 2023
1 parent a0ef34a commit 3d6be0d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'

- run: mkdir -p build
- run: cp -rp img build
Expand All @@ -25,8 +26,12 @@ jobs:
publish_dir: ./build

- run: npm run test
- run: npm install @jsdevtools/npm-publish -g
- run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json

- run: npm publish
name: colors-cli
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Is a tag created auto?
id: create_tag
Expand Down

0 comments on commit 3d6be0d

Please sign in to comment.