Update index.ts #2660
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches-ignore: | |
- stable | |
pull_request: | |
branches-ignore: | |
- stable | |
jobs: | |
build-and-test: | |
name: Build and Test (Node ${{ matrix.node }}) | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
node: | |
- 18.x | |
- 16.x | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: actions/checkout@v3 | |
- name: Restore Dependency Cache | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }} | |
- run: npm install | |
- run: npm run bootstrap | |
- run: npm run lint | |
- run: npm test |