mirror of
https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber.git
synced 2025-12-12 20:55:48 +00:00
set node version in package.json and in workflows
This commit is contained in:
parent
5c5e7a7ff0
commit
eb34b46b42
27
.github/workflows/e2e.deploy.docs.yml
vendored
27
.github/workflows/e2e.deploy.docs.yml
vendored
@ -28,15 +28,20 @@ jobs:
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
- name: Set Node version
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '>=21'
|
||||
|
||||
- name: vuepress-deploy
|
||||
uses: jenkey2011/vuepress-deploy@master
|
||||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
#TARGET_REPO: username/repo
|
||||
#TARGET_BRANCH: master
|
||||
BUILD_SCRIPT: npm install && npm run docs:build
|
||||
BUILD_DIR: build/docs/
|
||||
VUEPRESS_BASE: boilerplate-e2e-cypress-cucumber
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: vuepress-deploy
|
||||
uses: jenkey2011/vuepress-deploy@master
|
||||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
#TARGET_REPO: username/repo
|
||||
#TARGET_BRANCH: master
|
||||
BUILD_SCRIPT: npm install && npm run docs:build
|
||||
BUILD_DIR: build/docs/
|
||||
VUEPRESS_BASE: boilerplate-e2e-cypress-cucumber
|
||||
5
.github/workflows/e2e.run.tests.yml
vendored
5
.github/workflows/e2e.run.tests.yml
vendored
@ -7,6 +7,11 @@ jobs:
|
||||
name: Run all E2E tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set Node version
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '>=21'
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
|
||||
5
.github/workflows/e2e.test.build.docs.yml
vendored
5
.github/workflows/e2e.test.build.docs.yml
vendored
@ -25,6 +25,11 @@ jobs:
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set Node version
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '>=21'
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
|
||||
|
||||
5
.github/workflows/e2e.test.lint.yml
vendored
5
.github/workflows/e2e.test.lint.yml
vendored
@ -25,6 +25,11 @@ jobs:
|
||||
needs: files-changed
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set Node version
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '>=21'
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
|
||||
|
||||
@ -70,6 +70,9 @@
|
||||
"messages": {
|
||||
"enabled": true,
|
||||
"output": "cypress/reports/messages/cucumber-messages.ndjson"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=21"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user