ci: add releaserc and set node version to 20
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Node.js & TypeScript",
|
"name": "Node.js & TypeScript",
|
||||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-18-bullseye",
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
|
||||||
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
"features": {
|
"features": {
|
||||||
|
|||||||
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [ 18, 20 ]
|
node: [ 20 ]
|
||||||
|
|
||||||
name: Node ${{ matrix.node }} PR
|
name: Node ${{ matrix.node }} PR
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 20
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
|
|||||||
16
.releaserc.yaml
Normal file
16
.releaserc.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
releases:
|
||||||
|
branches:
|
||||||
|
- name: main
|
||||||
|
- name: beta
|
||||||
|
prerelease: true
|
||||||
|
plugins:
|
||||||
|
- "@semantic-release/commit-analyzer"
|
||||||
|
- "@semantic-release/git":
|
||||||
|
assets:
|
||||||
|
- README.md
|
||||||
|
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
||||||
|
- "@semantic-release/release-notes-generator":
|
||||||
|
assets:
|
||||||
|
- path: dist/*.js
|
||||||
|
label: JS distribution
|
||||||
|
- "@semantic-release/github"
|
||||||
Reference in New Issue
Block a user