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 Jul 16, 2023
1 parent 60b184a commit f35fe2d
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,33 +89,33 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

outputs:
successful: ${{steps.create_tag.outputs.successful }}

github-package:
runs-on: ubuntu-latest
needs: build-deploy
if: needs.build-deploy.outputs.successful
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com
scope: '@jaywcjlove'

- run: npm install
- run: npm run build

- name: "Modify colors-named => @jaywcjlove/colors-named"
uses: jaywcjlove/github-action-package@main
with:
path: package.json
data: |
{ "name": "@jaywcjlove/colors-named" }
- run: npm publish
name: 📦 @jaywcjlove/colors-named publish to NPM
continue-on-error: true
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# outputs:
# successful: ${{steps.create_tag.outputs.successful }}

# github-package:
# runs-on: ubuntu-latest
# needs: build-deploy
# if: needs.build-deploy.outputs.successful
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 16
# registry-url: https://npm.pkg.github.com
# scope: '@jaywcjlove'

# - run: npm install
# - run: npm run build

# - name: "Modify colors-named => @jaywcjlove/colors-named"
# uses: jaywcjlove/github-action-package@main
# with:
# path: package.json
# data: |
# { "name": "@jaywcjlove/colors-named" }

# - run: npm publish
# name: 📦 @jaywcjlove/colors-named publish to NPM
# continue-on-error: true
# env:
# NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit f35fe2d

Please sign in to comment.