23 lines
597 B
YAML
23 lines
597 B
YAML
name: Build
|
|
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: debian-12
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Install dependencies
|
|
run: npm install
|
|
- name: Run ESLint
|
|
run: npx eslint ./*.ts
|
|
- name: Write signing key
|
|
run: echo "$SIGNING_KEY" > key.pem
|
|
env:
|
|
SIGNING_KEY: ${{secrets.SIGNING_KEY}}
|
|
- name: Build extension
|
|
run: ./build.sh
|
|
- name: Upload extension
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Proxy Settings Extension
|
|
path: proxy-settings.crx
|