Skip to content

feat: updated workflows #6

feat: updated workflows

feat: updated workflows #6

name: Build, test, and release
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: build-test-release
cancel-in-progress: true
jobs:
common:
uses: ./.github/workflows/checkout-install.yml
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- name: Run tests
run: |
npm run package
npm run lint
npm exec tsc
npm test
build-and-release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
needs: test
steps:
- name: Build and release the app
env:
GH_TOKEN: ${{ secrets.github_token }}
run: npm run package:publish