Skip to content

Update main.yaml

Update main.yaml #19

Workflow file for this run

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
# 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