feat: updated workflows #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build, test, and release | ||
on: push | ||
concurrency: | ||
group: build-test-release | ||
cancel-in-progress: true | ||
jobs: | ||
test: | ||
uses: ./.github/workflows/checkout-install.yml | ||
steps: | ||
- name: Run tests | ||
run: | | ||
npm run package | ||
npm run lint | ||
npm exec tsc | ||
npm test | ||
build-and-release: | ||
needs: test | ||
uses: ./.github/workflows/checkout-install.yml | ||
steps: | ||
- name: Build and release the app | ||
env: | ||
GH_TOKEN: ${{ secrets.github_token }} | ||
run: npm run package:publish |