Skip to content

Commit

Permalink
Merge pull request #97 from cycjimmy/switch-operating-environment-to-…
Browse files Browse the repository at this point in the history
…node16

feat: switch operating environment to node16
  • Loading branch information
cycjimmy committed Mar 3, 2022
2 parents f6b0ca3 + 9e18bba commit 67d26db
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: ./
id: semantic
with:
extra_plugins: |
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup Node.js with GitHub Package Registry
uses: actions/setup-node@v3
with:
node-version: 14
node-version: 16
registry-url: 'https://npm.pkg.github.com'
scope: 'cycjimmy'

Expand Down
18 changes: 9 additions & 9 deletions README.md
Expand Up @@ -20,7 +20,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -61,7 +61,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 15.13.28 # It is recommended to specify specifying version range
# for semantic-release.
Expand All @@ -80,7 +80,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 16
# you can set branches for semantic-release above v16.
Expand Down Expand Up @@ -126,7 +126,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
semantic_version: 15.13.28
# you can set branch for semantic-release older than v16.
Expand All @@ -151,7 +151,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
# You can specify specifying version range for the extra plugins if you prefer.
extra_plugins: |
Expand Down Expand Up @@ -181,7 +181,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
dry_run: true
env:
Expand All @@ -197,7 +197,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
# You can extend an existing shareable configuration.
extends: |
Expand All @@ -215,7 +215,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
with:
# You can select another working directory like a subdirectory for example.
working_directory: ./code
Expand All @@ -242,7 +242,7 @@ steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
id: semantic # Need an `id` for output variables
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -44,5 +44,5 @@ outputs:
last_release_version:
description: 'Version of the previous release, if there was one.'
runs:
using: 'node12'
using: 'node16'
main: 'index.js'

0 comments on commit 67d26db

Please sign in to comment.