diff --git a/.github/workflows/typescript-checks.yml b/.github/workflows/typescript-tests.yml similarity index 64% rename from .github/workflows/typescript-checks.yml rename to .github/workflows/typescript-tests.yml index 525e1d6b..ad1a8f0e 100644 --- a/.github/workflows/typescript-checks.yml +++ b/.github/workflows/typescript-tests.yml @@ -2,7 +2,7 @@ name: typescript-checks on: pull_request: paths: - - '.github/workflows/typescript-checks.yml' + - '.github/workflows/typescript-tests.yml' - '.eslintrc.js' - '**.ts' - '**.tsx' @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@master - name: Set up Node v14 - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: '14' - run: | @@ -35,10 +35,26 @@ jobs: uses: actions/checkout@master - name: Set up Node v14 - uses: actions/setup-node@v2-beta + uses: actions/setup-node@v2 with: node-version: '14' - run: | npm install npm run build:dev npm run build:prd + + test: + name: Run tests + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@master + + - name: Set up Node v14 + uses: actions/setup-node@v2 + with: + node-version: '14' + - run: | + npm install + npm run test