Skip to content

build: fix wrong using php setup #2174

build: fix wrong using php setup

build: fix wrong using php setup #2174

Workflow file for this run

name: build
on:
push:
branches:
- main
- 'renovate/**'
pull_request:
jobs:
build:
name: Node.js ubuntu-latest 16.x
runs-on: ubuntu-latest
steps:
# setup ruby environment before running jonabc/setup-licensed
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
- uses: jonabc/setup-licensed@d6b3a6f7058c2b40c06d205e13e15c2418977566 # renovate: tag=v1.1.4
with:
version: '4.x'
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install pnpm
uses: pnpm/action-setup@v2@v2
id: pnpm-install
with:
version: 8.6.5
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: pnpm build:artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: artifacts/*