Merge pull request #24 from LePetitTim/add_release_dockerfile #14
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
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update-cache: | |
name: Update Cache | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Cache node_modules | |
id: cache-admin | |
uses: actions/cache@v3 | |
with: | |
path: ./node_modules | |
key: node-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Setup node | |
if: steps.cache-admin.outputs.cache-hit != 'true' | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
if: steps.cache-admin.outputs.cache-hit != 'true' | |
run: | | |
yarn install --frozen-lock |