Skip to content

Maintenance message #143

Maintenance message

Maintenance message #143

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Testing on Node ${{matrix.node_version}}
timeout-minutes: 60
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [16, 19]
steps:
- name: Checkout Master
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node ${{matrix.node_version}}
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node_version }}
- name: Cache Yarn
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-${{matrix.node_version}}-node-modules-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{matrix.node_version}}-node-modules-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-${{matrix.node_version}}-node-modules-
- name: Install Dependencies using Yarn
run: yarn install && git checkout yarn.lock
- name: Cache Jest
uses: actions/cache@v2
with:
path: .cache/jest
key: ${{ runner.os }}-${{matrix.node_version}}-jest-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{matrix.node_version}}-jest-${{ hashFiles('yarn.lock') }}
${{ runner.os }}-${{matrix.node_version}}-jest-
- name: Test
run: yarn test
env:
CI: true