feat: show default options in upload options #963
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Build' | |
on: | |
push: | |
branches: [v4] | |
pull_request: | |
branches: [v4] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18.x, 20.x, 21.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use node@${{ matrix.node }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
run_install: false | |
- name: Get pnpm store directory | |
shell: bash | |
id: pnpm-cache | |
run: | | |
echo "store_path=$(pnpm store path --silent)" >> $GITHUB_OUTPUT | |
- 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 | |
run: pnpm install | |
- name: Build | |
env: | |
ZIPLINE_BUILD: 'true' | |
NEXT_TELEMETRY_DISABLED: '1' | |
run: pnpm build |