Update dependency @mdx-js/react to v3 #667
Workflow file for this run
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: JavaScript checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
jobs: | |
jest: | |
name: jest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up yarn cache | |
uses: actions/cache@v3 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: .yarn/cache | |
key: ${{ runner.os }}-tsc-yarn-${{ github.ref }}-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-tsc-yarn-${{ github.ref }}- | |
${{ runner.os }}-tsc-yarn- | |
- name: install node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .node-version | |
- name: yarn install | |
run: yarn install | |
- name: jest | |
run: yarn run jest | |
tsc: | |
name: tsc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up yarn cache | |
uses: actions/cache@v3 | |
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) | |
with: | |
path: .yarn/cache | |
key: ${{ runner.os }}-tsc-yarn-${{ github.ref }}-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-tsc-yarn-${{ github.ref }}- | |
${{ runner.os }}-tsc-yarn- | |
- name: install node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: .node-version | |
- name: yarn install | |
run: yarn install | |
- name: tsc | |
run: yarn run tsc --noEmit |