Repository navigation
chore(deps): update node.js to v24.21.0 #427
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
| name: CI | |
| # This is the required check on every push and PR: it builds every package | |
| # and runs each package's tests. If either fails, the check fails. | |
| # | |
| # Not every package has real tests yet. The ones that don't just print a | |
| # message and exit successfully for now - that way every package has a | |
| # test script to run, and we can fill in real tests over time without | |
| # changing this workflow. github-actions-grafana-jump does have real tests | |
| # (`node --test test/*.test.js`). | |
| # | |
| # Building and testing is all this workflow does. Publishing the built | |
| # files as a GitHub Release happens separately, in release.yaml, when | |
| # code lands on main. | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| # mise.toml pins node and yarn (in lockstep with .nvmrc and | |
| # package.json's packageManager), so CI and local checkouts run the same | |
| # toolchain without a separate corepack step. | |
| - uses: jdx/mise-action@c2a87611a18de5b3828c5652fe268e992400cb5c # v4.3.0 | |
| with: | |
| install: true | |
| cache: true | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Build | |
| run: yarn run build | |
| - name: Test | |
| run: yarn run test |