Change actions to use node 18

This commit is contained in:
Adria Navarro 2023-07-24 17:48:10 +02:00
parent d8c2499c15
commit 5e59d73533
5 changed files with 17 additions and 17 deletions

View File

@ -33,10 +33,10 @@ jobs:
uses: actions/checkout@v3
if: github.repository != github.event.pull_request.head.repo.full_name
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn lint
@ -54,10 +54,10 @@ jobs:
uses: actions/checkout@v3
if: github.repository != github.event.pull_request.head.repo.full_name
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
cache: "yarn"
- run: yarn
# Run build all the projects
@ -78,10 +78,10 @@ jobs:
uses: actions/checkout@v3
if: github.repository != github.event.pull_request.head.repo.full_name
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro
@ -104,10 +104,10 @@ jobs:
uses: actions/checkout@v3
if: github.repository != github.event.pull_request.head.repo.full_name
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn test --scope=@budibase/worker --scope=@budibase/server
@ -127,10 +127,10 @@ jobs:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn test --scope=@budibase/pro
@ -148,10 +148,10 @@ jobs:
uses: actions/checkout@v3
if: github.repository != github.event.pull_request.head.repo.full_name
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
cache: "yarn"
- run: yarn
- run: yarn build

View File

@ -44,7 +44,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x
- run: yarn install --frozen-lockfile
- name: Update versions

View File

@ -36,7 +36,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x
- run: yarn install --frozen-lockfile
- name: Update versions

View File

@ -28,10 +28,10 @@ jobs:
exit 1
fi
- name: Use Node.js 14.x
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x
- name: Get the latest budibase release version
id: version

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
steps:
- name: Fail if not a tag
run: |