chore(ci): refactor CI workflow for improved readability and maintainability
This commit is contained in:
@@ -3,9 +3,12 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- "*"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
UV_LINK_MODE: copy
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -24,7 +27,7 @@ jobs:
|
|||||||
- name: Setup Task
|
- name: Setup Task
|
||||||
uses: https://git.quad4.io/actions/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1
|
uses: https://git.quad4.io/actions/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1
|
||||||
with:
|
with:
|
||||||
version: '3.46.3'
|
version: "3.46.3"
|
||||||
- name: Setup uv
|
- name: Setup uv
|
||||||
run: |
|
run: |
|
||||||
task setup-uv
|
task setup-uv
|
||||||
@@ -49,7 +52,7 @@ jobs:
|
|||||||
- name: Setup Task
|
- name: Setup Task
|
||||||
uses: https://git.quad4.io/actions/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1
|
uses: https://git.quad4.io/actions/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1
|
||||||
with:
|
with:
|
||||||
version: '3.46.3'
|
version: "3.46.3"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: task node_modules
|
run: task node_modules
|
||||||
- name: Determine version
|
- name: Determine version
|
||||||
|
|||||||
Reference in New Issue
Block a user