Move incompatible mods JSON to the website #136
Workflow file for this run
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
on: [pull_request] | |
name: PR preview | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
name: Generate PR preview | |
steps: | |
- name: Checkout | |
uses: akarys42/checkout-with-filter@main | |
with: | |
filter: 'blob:none' | |
fetch-depth: 0 | |
- name: Enable Corepack shims | |
run: corepack enable | |
- name: Install dependencies | |
run: pnpm install | |
- name: Build the project | |
run: pnpm build | |
- name: Upload HTML artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: website-html | |
path: dist | |
retention-days: 1 | |
- name: Upload Functions artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: website-functions | |
path: functions | |
retention-days: 1 | |
- name: Upload package artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: website-package | |
path: | | |
package.json | |
pnpm-lock.yaml | |
retention-days: 1 |