Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

fix: cache disabled #10

fix: cache disabled

fix: cache disabled #10

Workflow file for this run

name: Build App
on:
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@v3
with:
node-version: 18
- name: install dependencies
run: |
yarn config set network-timeout 300000
yarn && yarn install:app
- name: copy files to @contentlayer/source-files
if: matrix.platforms == 'windows-latest'
run: |
copy fixed_pkg\makeCacheItemFromFilePath.js app\node_modules\@contentlayer\source-files\dist\fetchData\makeCacheItemFromFilePath.js
- name: build app
run: yarn build:app