Bump the npm_and_yarn group across 1 directory with 3 updates #8
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: ppx_spice test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use OCaml 4.14.2 | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: 4.14.2 | |
| - name: Install OCaml deps | |
| run: opam install . --deps-only --with-test | |
| working-directory: src | |
| - name: Build PPX | |
| run: opam exec -- dune build | |
| working-directory: src | |
| - name: Use pnpm | |
| uses: pnpm/action-setup@v6 | |
| with: | |
| version: 10.33.0 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| cache-dependency-path: test/pnpm-lock.yaml | |
| - name: Install JS deps | |
| run: pnpm install --frozen-lockfile | |
| working-directory: test | |
| - name: Build ReScript test fixtures | |
| run: pnpm run res:build | |
| working-directory: test | |
| - name: Run tests | |
| run: pnpm test | |
| working-directory: test |