mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 04:32:15 +01:00
Github actions: Added missing step for ziggy; Added names to steps
This commit is contained in:
21
.github/workflows/npm-build.yml
vendored
21
.github/workflows/npm-build.yml
vendored
@@ -11,14 +11,23 @@ jobs:
|
|||||||
- name: "Checkout code"
|
- name: "Checkout code"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: shivammathur/setup-php@v2
|
- name: "Setup PHP (for Ziggy)"
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.3.1'
|
php-version: '8.3'
|
||||||
extensions: intl, zip
|
extensions: intl, zip
|
||||||
- run: composer install
|
coverage: none
|
||||||
- name: Use Node.js
|
|
||||||
|
- name: "Run composer install (for Ziggy)"
|
||||||
|
run: composer install -n --prefer-dist
|
||||||
|
|
||||||
|
- name: "Use Node.js"
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- run: npm ci
|
|
||||||
- run: npm run build
|
- name: "Install npm dependencies"
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: "Build"
|
||||||
|
run: npm run build
|
||||||
|
|||||||
10
.github/workflows/npm-lint.yml
vendored
10
.github/workflows/npm-lint.yml
vendored
@@ -11,9 +11,13 @@ jobs:
|
|||||||
- name: "Checkout code"
|
- name: "Checkout code"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Use Node.js
|
- name: "Use Node.js"
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- run: npm ci
|
|
||||||
- run: npm run lint
|
- name: "Install npm dependencies"
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: "Run linter"
|
||||||
|
run: npm run lint
|
||||||
|
|||||||
20
.github/workflows/npm-typecheck.yml
vendored
20
.github/workflows/npm-typecheck.yml
vendored
@@ -11,9 +11,23 @@ jobs:
|
|||||||
- name: "Checkout code"
|
- name: "Checkout code"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Use Node.js
|
- name: "Setup PHP (for Ziggy)"
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: '8.3'
|
||||||
|
extensions: intl, zip
|
||||||
|
coverage: none
|
||||||
|
|
||||||
|
- name: "Run composer install (for Ziggy)"
|
||||||
|
run: composer install -n --prefer-dist
|
||||||
|
|
||||||
|
- name: "Use Node.js"
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- run: npm ci
|
|
||||||
- run: npm run type-check
|
- name: "Install npm dependencies"
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: "Run type check"
|
||||||
|
run: npm run type-check
|
||||||
|
|||||||
4
.github/workflows/phpunit.yml
vendored
4
.github/workflows/phpunit.yml
vendored
@@ -38,10 +38,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: "Install dependencies"
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build Frontend
|
- name: "Build Frontend"
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: "Prepare Laravel Application"
|
- name: "Prepare Laravel Application"
|
||||||
|
|||||||
Reference in New Issue
Block a user