Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DonnieBLT authored Jan 27, 2024
1 parent 82c646b commit 3b726f1
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,30 @@ name: Build
on:
push:


jobs:
build:
name: Publish webextension
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Build
run: |
npm install
npm ci
npm run build
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Build
run: |
npm install
npm ci
npm run build
# Zip the extension directory
- name: Zip extension
run: zip -r extension.zip dist/

# Upload the zip file as a build artifact
- uses: actions/upload-artifact@v2
with:
name: webextension
path: extension.zip


0 comments on commit 3b726f1

Please sign in to comment.