Merge pull request #1461 from trilitech/dependabot/npm_and_yarn/frame… #7227
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
name: Test | |
on: push | |
permissions: | |
pull-requests: write | |
checks: write | |
contents: write | |
concurrency: | |
group: ${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest-m | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jwalton/gh-find-current-pr@v1 | |
id: findPr | |
- name: Setup yarn | |
run: | | |
corepack enable | |
yarn set version stable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "yarn" | |
- run: yarn install --immutable | |
- run: yarn ci | |
- run: yarn test |