This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
chore(deps): update dependency @types/node to v18.19.59 #1294
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 App | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
publish: | |
permissions: | |
contents: write | |
strategy: | |
fail-fast: false | |
matrix: | |
platforms: | |
- 'macos-latest' | |
- 'ubuntu-20.04' | |
- 'windows-latest' | |
runs-on: ${{ matrix.platforms }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: install dependencies | |
run: pnpm install | |
- name: copy files to @contentlayer2/source-files | |
if: matrix.platforms == 'windows-latest' | |
run: | | |
copy fixed_pkg\makeCacheItemFromFilePath.js node_modules\.pnpm\node_modules\@contentlayer2\source-files\dist\fetchData\makeCacheItemFromFilePath.js | |
- name: build app | |
run: pnpm build:app |