Skip to content

Commit

Permalink
feat: WIP gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Apr 4, 2023
1 parent f1fabf0 commit e3b7d82
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on:
workflow_dispatch:

jobs:
install:
name: Install node
runs-on: self-hosted

steps:
- uses: actions/checkout@v1
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16

- name: Install npm packages
run: npm install

build:
name: Build and bundle
runs-on: self-hosted

steps:
- uses: install
- name: Run npm build
run: npm run build

publish:
name: Package and sign build results
runs-on: self-hosted

steps:
- uses: build
- name: Package and sign
env:
FIREFOX_TOKEN: ${{ secrets.FIREFOX_TOKEN }}

run: |
npm run publish -- --token: ${{ env.FIREFOX_TOKEN }}

0 comments on commit e3b7d82

Please sign in to comment.