Skip to content

Commit

Permalink
Merge pull request #241 from leezng/dev
Browse files Browse the repository at this point in the history
chore: update actions plugin version
  • Loading branch information
leezng authored Mar 20, 2023
2 parents ade5493 + 0478793 commit 721b52b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Automated Version Bump
uses: phips28/gh-action-bump-version@v7.1.0
uses: phips28/gh-action-bump-version@v9.1.0
env:
GITHUB_USER: ${{ secrets.CI_NAME }}
GITHUB_EMAIL: ${{ secrets.CI_EMAIL }}

- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish NPM
run: |
Expand All @@ -31,14 +26,3 @@ jobs:
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Set up Node.js
uses: actions/setup-node@v1
with:
registry-url: https://npm.pkg.github.com/

- name: Publish GPR
run: |
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install
run: npm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16

- name: Lint
run: |
Expand Down

0 comments on commit 721b52b

Please sign in to comment.