build: update pnpm lock file #40
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: Navigator CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: [dev] | |
paths: | |
- '.github/workflows/navigator-ci.yml' | |
- 'pnpm-lock.yaml' | |
- 'packages/navigator/**' | |
jobs: | |
build: | |
name: Build and Deploy to Vercel | |
runs-on: ubuntu-20.04 | |
if: github.repository == 'PatchyVideo/Touhou-Vote' | |
environment: Navigator-CI | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
check-latest: true | |
- name: Cache pnpm modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pnpm- | |
- uses: pnpm/action-setup@v2.2.1 | |
with: | |
version: 8.3.1 | |
run_install: | | |
args: [--frozen-lockfile, --strict-peer-dependencies] | |
timeout-minutes: 10 | |
- name: Build | |
run: pnpm build | |
working-directory: ./packages/navigator | |
timeout-minutes: 15 | |
- name: Deploy to Vercel | |
uses: amondnet/vercel-action@v20 | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | |
vercel-args: '--prod' | |
working-directory: ./packages/navigator/dist | |
github-comment: false | |
timeout-minutes: 5 |