fix: workflow changes
This commit is contained in:
parent
6157d5771d
commit
03a4a97375
2 changed files with 10 additions and 6 deletions
4
.github/workflows/build-branch.yml
vendored
4
.github/workflows/build-branch.yml
vendored
|
|
@ -25,6 +25,10 @@ on:
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- preview
|
||||||
|
- canary
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TARGET_BRANCH: ${{ github.ref_name }}
|
TARGET_BRANCH: ${{ github.ref_name }}
|
||||||
|
|
|
||||||
12
.github/workflows/build-test-pull-request.yml
vendored
12
.github/workflows/build-test-pull-request.yml
vendored
|
|
@ -71,7 +71,7 @@ jobs:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn lint --filter=admin
|
- run: yarn lint --filter=admin
|
||||||
|
|
||||||
|
|
@ -84,7 +84,7 @@ jobs:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn lint --filter=space
|
- run: yarn lint --filter=space
|
||||||
|
|
||||||
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn lint --filter=web
|
- run: yarn lint --filter=web
|
||||||
|
|
||||||
|
|
@ -109,7 +109,7 @@ jobs:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn build --filter=admin
|
- run: yarn build --filter=admin
|
||||||
|
|
||||||
|
|
@ -121,7 +121,7 @@ jobs:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn build --filter=space
|
- run: yarn build --filter=space
|
||||||
|
|
||||||
|
|
@ -133,6 +133,6 @@ jobs:
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 20.x
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn build --filter=web
|
- run: yarn build --filter=web
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue