aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/compile.yml
blob: c4b8268983687e973ab7af19646927678b04f55c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
on: [push]

jobs:
  build-push:
    runs-on: ubuntu-latest
    name: Compile Typescript
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '14'
      - run: npm install
      - name: Compile Typescript
        uses: FuLagann/tsc-build-push@v1
        with:
          user-name: "mat-1"
          user-email: "github@matdoes.dev"
          message: "Compiled TS into JS"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}