diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..4816518 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint + +on: [push] + +jobs: + eslint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - uses: c-hive/gha-yarn-cache@v1 + - name: Install node modules + run: yarn + - name: lint + run: yarn lint diff --git a/.github/workflows/tsc.yml b/.github/workflows/tsc.yml new file mode 100644 index 0000000..1276860 --- /dev/null +++ b/.github/workflows/tsc.yml @@ -0,0 +1,17 @@ +name: TypeScript + +on: [push] + +jobs: + tsc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-node@v1 + with: + node-version: 14 + - uses: c-hive/gha-yarn-cache@v1 + - name: Install node modules + run: yarn + - name: typescript + run: yarn typescript