Skip to content

chore(deps): update typescript-eslint monorepo to v7 #1890

chore(deps): update typescript-eslint monorepo to v7

chore(deps): update typescript-eslint monorepo to v7 #1890

Workflow file for this run

name: Tests
env:
CI: true
NODE_VERSION: 12.x
on:
- push
jobs:
prepare:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[ci skip]')"
steps:
- run: echo "${{ github.event.head_commit.message }}"
test:
runs-on: macos-latest
needs: prepare
steps:
- name: Clone repository
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: "${{ env.NODE_VERSION }}"
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package.json') }}-${{ hashFiles('package-lock.json') }}
${{ runner.os }}-build-${{ env.cache-name }}-
- name: Install node modules
run: npm ci
- name: Run tests
run: npm t
- name: Build workflow file
run: npm run build
- name: Run test commands
run: npm run test:cmd