Merge pull request #1565 from scpwiki/dependabot/npm_and_yarn/framera… #189
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: '[framerail] Typescript' | |
on: | |
pull_request: | |
paths: | |
- 'framerail/**' | |
- '.github/workflows/framerail.yaml' | |
- '.github/codecov.yml' | |
push: | |
branches: | |
- develop | |
- prod | |
jobs: | |
build_and_lint: | |
name: Build and Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: latest | |
- name: Install dependencies | |
run: cd framerail && pnpm install | |
- name: Lint | |
run: cd framerail && pnpm lint | |
- name: Build | |
run: cd framerail && pnpm build | |
# TODO add coverage step |