Skip to content

Commit

Permalink
ci: bump nodejs versions in github actions for semantic-release. Rest…
Browse files Browse the repository at this point in the history
…ore github and git plugins to semantic release. Bump checkout action version.
  • Loading branch information
chrissimon-au committed Mar 11, 2024
1 parent 71027ed commit 6d76963
Show file tree
Hide file tree
Showing 11 changed files with 274 additions and 153 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/contextive-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: Contextive IntelliJ Publish
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/contextive-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ jobs:
name: 'Release'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false

- uses: ./.github/actions/init-dotnet

- uses: actions/setup-node@v4
with:
node-version: 20

- run: dotnet fsi release.fsx
working-directory: src
env:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/contextive-runtime-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Language Server
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false

Expand Down Expand Up @@ -45,11 +45,14 @@ jobs:
- language-server
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false

- uses: ./.github/actions/init-dotnet
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Language Server Artifact
uses: actions/download-artifact@v3
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/contextive-runtime-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Language Server
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false

Expand All @@ -50,11 +50,14 @@ jobs:
- language-server
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false

- uses: ./.github/actions/init-dotnet
- uses: actions/setup-node@v4
with:
node-version: 20

- name: Build
id: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/contextive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: IntelliJ Plugin
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-java@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/get-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- id: load-matrix
Expand Down
14 changes: 13 additions & 1 deletion src/.releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@
["@semantic-release/npm",{
"npmPublish": false,
"pkgRoot": "vscode/contextive"
}]
}],
["@semantic-release/git",{
"assets": [
"language-server/Contextive.LanguageServer/Contextive.LanguageServer.fsproj",
"vscode/contextive/CHANGELOG.md",
"vscode/contextive/package.json",
"vscode/contextive/package-lock.json",
"vscode/contextive/npm-shrinkwrap.json",
"intellij/contextive/build.gradle.kts",
"intellij/contextive/src/main/resources/META-INF/plugin.xml"
]
}],
"@semantic-release/github"
]
}
Loading

0 comments on commit 6d76963

Please sign in to comment.