mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-10-27 23:30:15 +01:00
a748ffeb7e
* Update build action * Update comment action * Update website linter * Setup Dependabot
55 lines
1.1 KiB
YAML
55 lines
1.1 KiB
YAML
name: Test Build Extension
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- Extensions/combined/**
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- Extensions/combined/**
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: ./Extensions/combined
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20.x'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build extension
|
|
run: npm run build
|
|
|
|
- name: Upload Chrome artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ryd-chrome
|
|
path: ./Extensions/combined/dist/chrome
|
|
|
|
- name: Upload Firefox artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ryd-firefox
|
|
path: ./Extensions/combined/dist/firefox
|
|
|
|
- name: Upload Safari artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: ryd-safari
|
|
path: ./Extensions/combined/dist/safari
|