Support Model scoped updates #2
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
on: | |
pull_request: | |
branches: | |
- main | |
workflow_call: {} | |
permissions: | |
contents: write | |
pull-requests: write | |
name: test | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "pnpm" | |
- name: Load MongoDB binary cache | |
id: cache-mongodb-binaries | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/mongodb-binaries | |
key: 20 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Test | |
run: pnpm test | |
- name: Build | |
run: pnpm build | |
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies | |
run: pnpm audit signatures |