upate
This commit is contained in:
parent
1fcceab8bb
commit
eb656dbab6
4 changed files with 64 additions and 6 deletions
6
.github/workflows/build-monorepo.yaml
vendored
6
.github/workflows/build-monorepo.yaml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Build and push
|
||||
name: Build and push (monorepo)
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
|
|
@ -8,9 +8,9 @@ on:
|
|||
PROJECT_ID:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build and push
|
||||
build_and_push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set current time
|
||||
|
|
|
|||
5
.github/workflows/build-standalone.yaml
vendored
5
.github/workflows/build-standalone.yaml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Build and push
|
||||
name: Build and push (standalone)
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
|
|
@ -6,8 +6,7 @@ on:
|
|||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
build:
|
||||
name: Build and push
|
||||
build_and_push:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set current time
|
||||
|
|
|
|||
45
.github/workflows/lint-monorepo.yaml
vendored
Normal file
45
.github/workflows/lint-monorepo.yaml
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
name: Linting and type checking (monorepo)
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
PACKAGE_WRITER_USERNAME:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
linting_type_checking:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NO_YARN_POSTINSTALL: 1
|
||||
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
|
||||
TURBO_API: ${{ vars.TURBO_API }}
|
||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||
FONTAWESOME_PACKAGE_TOKEN: ${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Set up Node.js and Corepack
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
|
||||
- name: Enable Corepack
|
||||
run: |
|
||||
corepack enable
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
yarn install --immutable --inline-builds
|
||||
|
||||
- name: Build packages
|
||||
run: |
|
||||
yarn run build:packages
|
||||
|
||||
- name: Lint source code (eslint)
|
||||
run: |
|
||||
yarn run lint
|
||||
|
||||
- name: Static type checking (TypeScript)
|
||||
run: |
|
||||
yarn run check-types
|
||||
Loading…
Add table
Add a link
Reference in a new issue