Caching yarn dependencies

This commit is contained in:
grossmj 2022-07-23 11:09:49 +02:00
parent e2f4d67a30
commit cffd8d79a9

View File

@ -17,12 +17,12 @@ jobs:
name: Node ${{ matrix.node }} name: Node ${{ matrix.node }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup ${{ matrix.node }} - name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: ${{ matrix.node }}
- uses: c-hive/gha-yarn-cache@v1 cache: 'yarn'
- name: Install JS dependencies - name: Install JS dependencies
run: yarn install run: yarn install --frozen-lockfile --immutable
- name: Test - name: Test
run: yarn test run: yarn test