mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-04-22 02:08:03 +00:00
0884ab2ce9
- Update README with Dijital Kurdistan Tech Institute author - Fix lock.yml to use github.token instead of GH_PAT_BOT - Rename push-master.yml to push-main.yml for main branch - Add workflow_dispatch triggers for manual runs
36 lines
807 B
YAML
36 lines
807 B
YAML
name: Main
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 'lts/*'
|
|
- name: Build
|
|
run: |
|
|
corepack enable
|
|
yarn install --immutable
|
|
yarn build
|
|
- name: Upload Chrome Build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: chrome-build
|
|
path: master-chrome-build.zip
|
|
if-no-files-found: ignore
|
|
- name: Upload Firefox Build
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: firefox-build
|
|
path: master-ff-build.zip
|
|
if-no-files-found: ignore
|