mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 09:20:00 +02:00
add pr build check
This commit is contained in:
parent
c88a7234d5
commit
a2b06cc0f1
1 changed files with 28 additions and 0 deletions
28
.github/workflows/prbuildcheck.yml
vendored
Normal file
28
.github/workflows/prbuildcheck.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: PR Build Check
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
upload:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
|
||||||
|
- name: Install pnpm
|
||||||
|
run: npm install -g pnpm
|
||||||
|
|
||||||
|
- name: Verify pnpm installation
|
||||||
|
run: pnpm --version
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pnpm install --no-frozen-lockfile
|
||||||
|
|
||||||
|
- name: Build project
|
||||||
|
run: pnpm run build
|
Loading…
Add table
Add a link
Reference in a new issue