Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anncwb committed Feb 22, 2021
1 parent f77884c commit c3d043b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- name: Checkout
uses: actions/checkout@v2

- name: use Node.js 14
uses: actions/setup-node@v1
with:
node-version: 10
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm publish
node-version: 14

- name: npm install and publish
run: |
npm install
npm run test
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master

- name: Create Release for Tag
id: release_tag
uses: yyx990803/release-tag@master
Expand All @@ -21,4 +22,7 @@ jobs:
tag_name: ${{ github.ref }}
body: |
Please refer to [CHANGELOG.md](https://github.com/anncwb/vite-plugin-theme/blob/main/CHANGELOG.md) for details.
- run: npm run log
- name: npm install and create changeLog
run: |
npm install
npm run log

0 comments on commit c3d043b

Please sign in to comment.