Electronic Throttle Body Details #191
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
# 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/ |