-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 802 Bytes
/
compiler.yml
File metadata and controls
36 lines (33 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Compiler
on: push
jobs:
compiler:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Configuring environment
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Checking version
run: |
node -v
npm i -g npm@latest
npm -v
echo ${{ secrets.NPM_TOKEN }}
- name: Installing Dependencies
run: |
rm -rf node_modules
npm ci
- name: Linting Project
run: |
npx prettier ./src/**/*.ts --write
npx eslint ./src/**/*.ts
- name: Compiling Project
run: |
rm -rf build
tsc -p .
npx tsc-alias