mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-11 17:13:04 +00:00
ci: use semantic release action v3
This commit is contained in:
committed by
Romain Lespinasse
parent
944fee4603
commit
99afdf4551
29
.github/workflows/release-dryrun.yml
vendored
Normal file
29
.github/workflows/release-dryrun.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
name: '[v3] Release DryRun'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- v*.x
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-dryrun:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: technote-space/auto-cancel-redundant-workflow@v1
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run all
|
||||||
|
- uses: ./
|
||||||
|
- uses: cycjimmy/semantic-release-action@v3
|
||||||
|
with:
|
||||||
|
branches: |
|
||||||
|
[
|
||||||
|
"${{ env.GITHUB_REF_NAME }}"
|
||||||
|
]
|
||||||
|
extra_plugins: |
|
||||||
|
@semantic-release/changelog
|
||||||
|
@semantic-release/exec
|
||||||
|
@semantic-release/git
|
||||||
|
dry_run: true
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: "[v3] Release"
|
name: '[v3] Release'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -13,6 +13,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run all
|
- run: npm run all
|
||||||
- uses: cycjimmy/semantic-release-action@v2
|
- uses: cycjimmy/semantic-release-action@v3
|
||||||
|
with:
|
||||||
|
extra_plugins: |
|
||||||
|
@semantic-release/changelog
|
||||||
|
@semantic-release/exec
|
||||||
|
@semantic-release/git
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
|||||||
4052
package-lock.json
generated
4052
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
25
package.json
25
package.json
@@ -17,7 +17,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "http://github.com/rlespinasse/github-slug-action.git"
|
"url": "https://github.com/rlespinasse/github-slug-action.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"actions",
|
"actions",
|
||||||
@@ -26,26 +26,26 @@
|
|||||||
],
|
],
|
||||||
"author": "rlespinasse",
|
"author": "rlespinasse",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.2.6"
|
"@actions/core": "^1.9.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@semantic-release/changelog": "^5.0.1",
|
"@semantic-release/changelog": "^5.0.1",
|
||||||
"@semantic-release/exec": "^5.0.0",
|
"@semantic-release/exec": "^5.0.0",
|
||||||
"@semantic-release/git": "^9.0.0",
|
"@semantic-release/git": "^9.0.1",
|
||||||
"@types/jest": "^26.0.20",
|
"@types/jest": "^26.0.24",
|
||||||
"@types/node": "^14.14.21",
|
"@types/node": "^14.18.25",
|
||||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||||||
"@vercel/ncc": "^0.23.0",
|
"@vercel/ncc": "^0.23.0",
|
||||||
"eslint": "^7.18.0",
|
"eslint": "^7.32.0",
|
||||||
"eslint-plugin-github": "^4.1.1",
|
"eslint-plugin-github": "^4.3.7",
|
||||||
"eslint-plugin-jest": "^23.20.0",
|
"eslint-plugin-jest": "^23.20.0",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"jest-circus": "^26.6.3",
|
"jest-circus": "^26.6.3",
|
||||||
"js-yaml": "^3.14.1",
|
"js-yaml": "^3.14.1",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.7.1",
|
||||||
"semantic-release": "^17.4.0",
|
"semantic-release": "^19.0.3",
|
||||||
"ts-jest": "^26.4.4",
|
"ts-jest": "^26.5.6",
|
||||||
"typescript": "^3.9.7"
|
"typescript": "^3.9.10"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"/dist"
|
"/dist"
|
||||||
@@ -66,7 +66,6 @@
|
|||||||
"@semantic-release/github"
|
"@semantic-release/github"
|
||||||
],
|
],
|
||||||
"branches": [
|
"branches": [
|
||||||
"v2.x",
|
|
||||||
"v3.x"
|
"v3.x"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user