mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-12 01:14:35 +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:
|
||||
push:
|
||||
@@ -13,6 +13,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm install
|
||||
- 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:
|
||||
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": {
|
||||
"type": "git",
|
||||
"url": "http://github.com/rlespinasse/github-slug-action.git"
|
||||
"url": "https://github.com/rlespinasse/github-slug-action.git"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
@@ -26,26 +26,26 @@
|
||||
],
|
||||
"author": "rlespinasse",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.2.6"
|
||||
"@actions/core": "^1.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@semantic-release/changelog": "^5.0.1",
|
||||
"@semantic-release/exec": "^5.0.0",
|
||||
"@semantic-release/git": "^9.0.0",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/node": "^14.14.21",
|
||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
||||
"@semantic-release/git": "^9.0.1",
|
||||
"@types/jest": "^26.0.24",
|
||||
"@types/node": "^14.18.25",
|
||||
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||||
"@vercel/ncc": "^0.23.0",
|
||||
"eslint": "^7.18.0",
|
||||
"eslint-plugin-github": "^4.1.1",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-plugin-github": "^4.3.7",
|
||||
"eslint-plugin-jest": "^23.20.0",
|
||||
"jest": "^26.6.3",
|
||||
"jest-circus": "^26.6.3",
|
||||
"js-yaml": "^3.14.1",
|
||||
"prettier": "^2.2.1",
|
||||
"semantic-release": "^17.4.0",
|
||||
"ts-jest": "^26.4.4",
|
||||
"typescript": "^3.9.7"
|
||||
"prettier": "^2.7.1",
|
||||
"semantic-release": "^19.0.3",
|
||||
"ts-jest": "^26.5.6",
|
||||
"typescript": "^3.9.10"
|
||||
},
|
||||
"files": [
|
||||
"/dist"
|
||||
@@ -66,7 +66,6 @@
|
||||
"@semantic-release/github"
|
||||
],
|
||||
"branches": [
|
||||
"v2.x",
|
||||
"v3.x"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user