chromium-proxy-settings/.forgejo/workflows/build.yaml

24 lines
597 B
YAML
Raw Normal View History

2024-02-18 08:54:29 +01:00
name: Build
on: [push]
jobs:
build:
runs-on: debian-12
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
2024-02-18 15:43:08 +01:00
- name: Run ESLint
run: npx eslint ./*.ts
2024-02-18 11:16:27 +01:00
- name: Write signing key
run: echo "$SIGNING_KEY" > key.pem
env:
SIGNING_KEY: ${{secrets.SIGNING_KEY}}
2024-02-18 08:54:29 +01:00
- name: Build extension
run: ./build.sh
- name: Upload extension
uses: actions/upload-artifact@v3
with:
name: Proxy Settings Extension
2024-02-18 10:39:19 +01:00
path: proxy-settings.crx