Update babel monorepo to v7.28.4 #1033
Workflow file for this run
This file contains hidden or 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 is a basic workflow to help you get started with Actions | |
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v5 | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version-file: ".nvmrc" | |
- name: Reuse npm cache folder | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: | | |
~/.npm | |
./node_modules | |
key: ${{ runner.os }}-npm-test-x1-${{ hashFiles('**/package.json') }} | |
restore-keys: | | |
${{ runner.os }}-npm-test-x1- | |
- name: install npm dependencies | |
run: npm install --legacy-peer-deps | |
- name: build | |
run: npm run build | |
- name: test:node | |
run: npm run test:node | |
- name: test:browser | |
uses: GabrielBB/xvfb-action@v1 | |
with: | |
run: npm run test:browser | |
- name: lint | |
run: npm run lint |