Skip to content

TypeScript@Next tests (solution) #25220

TypeScript@Next tests (solution)

TypeScript@Next tests (solution) #25220

name: TypeScript@Next tests (solution)
on:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '20 * * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: solution
- name: Cache Setup
uses: actions/cache@v2
with:
path: |
~/cache
~/.dts/
!~/cache/exclude
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Use (Volta) Node.js ${{ matrix.node-version }}
uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Install latest TypeScript nightly
run: yarn add -WD typescript@next
- name: Build
run: yarn build
- name: Run tests
run: yarn test