Skip to content

feat: updated workflows #2

feat: updated workflows

feat: updated workflows #2

name: Build, test, and release

Check failure on line 1 in .github/workflows/build-test-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-test-release.yml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: build-and-release, test
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