mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-25 14:16:10 +00:00
Refactor GitHub workflows to update submodules and test pull requests
This commit is contained in:
37
.github/workflows/pr-test.yml
vendored
Normal file
37
.github/workflows/pr-test.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
name: Pull request test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
pr-test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
token: ${{ secrets.DEPLOY_KEY }}
|
||||
|
||||
- name: Install Node.js and pnpm
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Install pnpm
|
||||
run: npm install -g pnpm
|
||||
|
||||
- name: Install Surfer
|
||||
run: |
|
||||
npm i -g @zen-browser/surfer
|
||||
|
||||
- name: Download firefox
|
||||
run: |
|
||||
surfer download
|
||||
|
||||
- name: Import patches
|
||||
run: |
|
||||
surfer i
|
||||
3
.github/workflows/update-submodules.yml
vendored
3
.github/workflows/update-submodules.yml
vendored
@@ -5,9 +5,6 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
workflow_dispatch:
|
||||
workflow_call: # This is a custom event that we will trigger manually
|
||||
|
||||
|
||||
Reference in New Issue
Block a user