kumabook/stickynotes

View on GitHub
.github/workflows/release.yml

Summary

Maintainability
Test Coverage
name: CI

on:
  push:
    branches:
      - master
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: release
      env:
        EXTENSION_ID: ${{ secrets.EXTENSION_ID }}
        API_KEY: ${{ secrets.API_KEY }}
        API_SECRET: ${{ secrets.API_SECRET }}
        BASE_URL: ${{ secrets.BASE_URL }}
        CLIENT_ID: ${{ secrets.CLIENT_ID }}
        CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
        SYNC_INTERVAL: ${{ secrets.SYNC_INTERVAL }}
      run: |
        npm install
        npm run release:firefox || true
    - uses: actions/upload-artifact@v1
      with:
        name: web-ext-artifacts
        path: web-ext-artifacts/