diff --git a/.github/workflows/schema-tests.yaml b/.github/workflows/schema-tests.yaml index b9238205f2..9f66f028fc 100644 --- a/.github/workflows/schema-tests.yaml +++ b/.github/workflows/schema-tests.yaml @@ -24,8 +24,10 @@ jobs: - uses: actions/setup-node@v4 # setup Node.js with: node-version: '20.x' - - name: Install dependencies - run: npm i + - name: Install dependencies from main + run: | + git checkout main -- package.json + npm i - name: Run tests run: npm run test diff --git a/.github/workflows/validate-markdown.yaml b/.github/workflows/validate-markdown.yaml index 5825171960..909efd96a1 100644 --- a/.github/workflows/validate-markdown.yaml +++ b/.github/workflows/validate-markdown.yaml @@ -19,6 +19,8 @@ jobs: steps: - uses: actions/checkout@v2 # checkout repo content + - name: use the javascript environment from main + run: git checkout main -- package.json - uses: actions/setup-node@v4 # setup Node.js with: node-version: '14.x'