Skip to content

Commit

Permalink
ci: update wrokflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 20, 2023
1 parent efced7e commit 6a2e025
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ on:
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'

# - run: npm ci
Expand Down Expand Up @@ -54,26 +57,16 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/dist

# - uses: JS-DevTools/npm-publish@v1
# with:
# token: ${{ secrets.NPM_TOKEN }}
# package: ./packages/base/package.json

# - uses: JS-DevTools/npm-publish@v1
# with:
# token: ${{ secrets.NPM_TOKEN }}
# package: ./packages/simple/package.json

# - run: npm publish
# name: packages/simple
# working-directory: packages/simple
# - run: npm publish --access public --provenance
# name: 📦 @vue-monorepo-template/base publish to NPM
# continue-on-error: true
# working-directory: packages/base
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# - run: npm publish
# name: packages/base
# working-directory: packages/base
# - run: npm publish --access public --provenance
# name: 📦 @vue-monorepo-template/simple publish to NPM
# continue-on-error: true
# working-directory: packages/simple
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6a2e025

Please sign in to comment.