Skip to content

move flashing troubleshooting #169

move flashing troubleshooting

move flashing troubleshooting #169

Workflow file for this run

# Build preview to Cloudflare Pages
name: Build preview
concurrency:
group: ${{ github.ref }}-preview
cancel-in-progress: true
on:
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'FOME-Tech'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install Node.js dependencies
run: npm ci
- name: Build
run: npm run build
- name: Save PR number
if: github.actor != 'dependabot[bot]'
run: |
echo ${{ github.event.number }} > ./build/PR_NR
- name: Upload preview build
uses: actions/upload-artifact@v4
if: github.actor != 'dependabot[bot]'
with:
name: build
path: build/