Workflow file for this run
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: Lint, TS, Prettier Check | |
on: [pull_request, push] | |
env: | |
SKIP_ENV_VALIDATION: true | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
name: Mengecek apakah file aman dari segi typing dan linting, juga prettier | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install all dependencies | |
uses: ./.github/actions/yarn-nm-install | |
- name: Test Prettier | |
run: yarn format:check | |
- name: Test Code Linting | |
run: yarn lint | |
- name: Test Typing | |
run: yarn type-check |