ci: update dependencies and target node version (#318)

This commit is contained in:
oSumAtrIX 2023-02-13 22:32:29 +01:00 committed by GitHub
commit 71b558ba6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 997 additions and 229 deletions

View File

@ -3,7 +3,7 @@ name: Release
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: branches:
- main - main
- dev - dev
pull_request: pull_request:
@ -16,7 +16,7 @@ jobs:
name: Release name: Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Cancel previou runs - name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.11.0 uses: styfle/cancel-workflow-action@0.11.0
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -33,11 +33,11 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "latest" node-version: "18"
cache: 'npm' cache: 'npm'
- name: Setup semantic-release - name: Setup semantic-release
run: npm install semantic-release@19.0.5 @saithodev/semantic-release-backmerge @semantic-release/git @semantic-release/changelog gradle-semantic-release-plugin@1.7.4 -D run: npm install
- name: Release - name: Release
env: env:
GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }} GITHUB_TOKEN: ${{ secrets.REPOSITORY_PUSH_ACCESS }}
run: npx semantic-release run: npm exec semantic-release

1211
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,8 +1,9 @@
{ {
"devDependencies": { "devDependencies": {
"@saithodev/semantic-release-backmerge": "^3.1.0",
"@semantic-release/changelog": "^6.0.2", "@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1", "@semantic-release/git": "^10.0.1",
"gradle-semantic-release-plugin": "^1.7.4", "gradle-semantic-release-plugin": "^1.7.6",
"semantic-release": "^19.0.5" "semantic-release": "^20.1.0"
} }
} }