Merge pull request #146 from koikiss-dev/dev #72
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: CI | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Set up git | |
uses: actions/checkout@v3 | |
- name: Set up node | |
uses: actions/setup-node@v3 | |
- name: Set up dependencys | |
run: npm i | |
- name: Install typescript | |
run: npm i typescript | |
- name: Set up the project | |
run: npm run build | |
- name: Run tests | |
run: npm run test | |
- name: Run formating | |
run: npm run format | |
- name: Run linter | |
run: npm run linter | |
- name: Run tests | |
run: npm run test | |
- name: Run format | |
run: npm run format | |
- name: Run linter | |
run: npm run lint |