chore(deps): update yarn to v3.8.6 #35
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: 'Gear Idea: unit test' | |
on: | |
pull_request: | |
types: [synchronize, labeled, opened, reopened, ready_for_review] | |
branches: [main] | |
paths: | |
- 'idea/faucet/**' | |
- 'idea/meta-storage-2/**' | |
jobs: | |
run-faucet-unit-tests: | |
if: 'github.event.pull_request.draft == false' | |
runs-on: ubuntu-latest | |
env: | |
TEST_ENV: true | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install NodeJS 18.x | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- name: 'Install dependencies' | |
run: YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install | |
- name: 'Build: @gear-js/common' | |
run: yarn build:common | |
- name: 'Run tests' | |
timeout-minutes: 3 | |
working-directory: idea/faucet | |
run: yarn test | |
run-meta-storage-unit-tests: | |
if: 'github.event.pull_request.draft == false' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install NodeJS 18.x | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- name: 'Install dependencies' | |
run: YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install | |
- name: 'Build: @gear-js/common' | |
run: yarn build:common | |
- name: 'Run tests' | |
timeout-minutes: 3 | |
working-directory: idea/meta-storage-2 | |
run: yarn test |