feat(curriculum): integrate MDN Curriculum #8486
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
# This workflow exclusively and specifically only checks the | |
# kumascript test suite. | |
# But if a package gets upgraded (e.g. Dependabot making a PR) | |
# that should test the kumascript suite too because the packages | |
# might have (and we've seen it happen!) an impact on the suite. | |
# Note that lint checking and stuff for files with `kumascript/**` | |
# is done with the general testing workflow. | |
name: Kumascript unit testing | |
on: | |
pull_request: | |
paths: | |
- kumascript/** | |
- .github/workflows/pr-kumascript.yml | |
- jest.config.json | |
- package.json | |
- yarn.lock | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
cache: yarn | |
- name: Install all yarn packages | |
run: yarn --frozen-lockfile | |
env: | |
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Unit testing kumascript | |
env: | |
CONTENT_ROOT: testing/content/files | |
run: | | |
yarn test:kumascript |