Skip to content

Bump @babel/traverse from 7.21.5 to 7.23.2 (#40) #111

Bump @babel/traverse from 7.21.5 to 7.23.2 (#40)

Bump @babel/traverse from 7.21.5 to 7.23.2 (#40) #111

name: HowLongIveBeenHere-UT
on: [push]
jobs:
install:
name: Install dependencies
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Cache node modules
id: cache-npm
uses: actions/[email protected]
env:
cache-name: cached-ios-npm-deps
with:
path: ./node_modules
key: ${{ hashFiles('./package.json') }}
- name: Install required dependencies on cache miss (npm)
if: steps.cache-npm.outputs.cache-hit != 'true'
run: |
npm install
verify:
name: Verify the sources
runs-on: windows-latest
needs: install
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Cache
uses: actions/[email protected]
with:
path: ./node_modules
key: ${{ hashFiles('./package.json') }}
- name: Run ESLint on the sources
run: npx eslint .
test:
name: Run the unit tests
runs-on: windows-latest
needs: [verify]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Pull the npm dependencies
uses: actions/[email protected]
with:
path: ./node_modules
key: ${{ hashFiles('./package.json') }}
- name: Run unit tests
run: npx jest