mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-13 13:31:36 +02:00
ci: test on node 18 and 20 (#835)
This commit is contained in:
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node: [14, 16]
|
node: [18, 20]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
@@ -30,6 +30,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 20
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|||||||
2
.github/workflows/release-please.yaml
vendored
2
.github/workflows/release-please.yaml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 20
|
||||||
- name: install
|
- name: install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
- name: build
|
- name: build
|
||||||
|
|||||||
4189
package-lock.json
generated
4189
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@
|
|||||||
"description": "automated releases based on conventional commits",
|
"description": "automated releases based on conventional commits",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "c8 mocha test/*.js",
|
"test": "c8 mocha --node-option no-experimental-fetch test/*.js",
|
||||||
"posttest": "standard",
|
"posttest": "standard",
|
||||||
"fix": "standard --fix",
|
"fix": "standard --fix",
|
||||||
"build": "ncc build index.js"
|
"build": "ncc build index.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user