Skip to content

hotfix: save 1.2 sec runtime by cache. #1264

hotfix: save 1.2 sec runtime by cache.

hotfix: save 1.2 sec runtime by cache. #1264

Workflow file for this run

name: Test:Build
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Setup PHP with composer v2
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: composer:v2
- name: Inject access token in .npmrc
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
- name: Run full build.
run: php ./build.php --cleanup