mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-08 00:02:15 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
36 lines
699 B
YAML
36 lines
699 B
YAML
name: NPM Build
|
|
|
|
on: [push]
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: "Checkout code"
|
|
uses: actions/checkout@v7
|
|
|
|
- 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@v6
|
|
with:
|
|
node-version: '20.x'
|
|
|
|
- name: "Install npm dependencies"
|
|
run: npm ci
|
|
|
|
- name: "Build"
|
|
run: npm run build
|