Compare commits

...
Author SHA1 Message Date
Shivam Mishra 1539e72586 chore(ci): update yarn cache 2024-01-24 15:07:46 +05:30
+13 -1
View File
@@ -21,7 +21,7 @@ jobs:
image: postgres:15.3 image: postgres:15.3
env: env:
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: "" POSTGRES_PASSWORD: ''
POSTGRES_DB: postgres POSTGRES_DB: postgres
POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_HOST_AUTH_METHOD: trust
ports: ports:
@@ -55,6 +55,18 @@ jobs:
node-version: 20 node-version: 20
cache: yarn cache: yarn
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache yarn dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: yarn - name: yarn
run: yarn install run: yarn install