Skip to content

Merge e593957756d629b4b0a8d8114889ac58f5943173 into feature/234.1 #973

Merge e593957756d629b4b0a8d8114889ac58f5943173 into feature/234.1

Merge e593957756d629b4b0a8d8114889ac58f5943173 into feature/234.1 #973

Workflow file for this run

name: Jest
on: [push]
jobs:
jest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v2-beta
with:
node-version: '14'
- name: Determine Node Version
id: node-version
run: |
echo "::set-output name=ver::$(node --version)"
- uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ steps.node-version.outputs.ver }}-${{ hashFiles('package.json', 'yarn.lock') }}
- name: Install Packages
run: |
yarn install
- name: Run Jest Tests
run: |
npx lwc-jest --skipApiVersionCheck -- --coverage --passWithNoTests