Merge 740d2b520ace23bd0fc0de3e59e04b7e4d222adc into feature/256__W-15… #7024
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
name: Sa11y | |
on: [push] | |
jobs: | |
sa11y-jest: | |
env: | |
SA11Y_AUTO: 1 | |
SA11Y_CLEANUP: 1 | |
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 |