chore(): pin typescript ^5.7.2 dev #792
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: "main" | |
on: | |
push: | |
branches: | |
- "master" | |
paths: | |
- .github/workflows/main.yaml | |
- .github/RELEASE_DRAFT/* | |
- jest.config.js | |
- package.json | |
- src/* | |
- tests/* | |
- tsconfig.json | |
- yarn.lock | |
pull_request: | |
paths: | |
- .github/workflows/main.yaml | |
- .github/RELEASE_DRAFT/* | |
- jest.config.js | |
- package.json | |
- src/* | |
- tests/* | |
- tsconfig.json | |
- yarn.lock | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v4 | |
- name: Install, lint, and build | |
run: | | |
yarn install | |
yarn lint | |
yarn build | |
- name: Test | |
run: yarn test | |
release: | |
if: github.ref == 'refs/heads/master' | |
name: release | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v4 | |
- name: Create Release | |
uses: minddocdev/mou-release-action@master | |
with: | |
templatePath: RELEASE_DRAFT/default.md | |
token: ${{ github.token }} |