This repository has been archived by the owner on Aug 14, 2024. It is now read-only.
Merge pull request #197 from gmsgowtham/renovate/node-20.x #460
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
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
- run: yarn install --frozen-lockfile | |
- run: yarn check:tsc | |
- run: yarn lint | |
- run: yarn format | |
- run: yarn test |