]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - .github/actions/reusable-prepare-peertube-build/action.yml
Merge branch 'release/5.0.0' into develop
[github/Chocobozzz/PeerTube.git] / .github / actions / reusable-prepare-peertube-build / action.yml
1 name: "Reusable prepare PeerTube build"
2
3 description: "Reusable prepare PeerTube build"
4
5 inputs:
6 node-version:
7 required: true
8 description: 'NodeJS version'
9
10 runs:
11 using: "composite"
12
13 steps:
14 - name: Use Node.js
15 uses: actions/setup-node@v3
16 with:
17 node-version: ${{ inputs.node-version }}
18
19 - name: Cache Node.js modules
20 uses: actions/cache@v3
21 with:
22 path: |
23 **/node_modules
24 key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }}
25 restore-keys: |
26 ${{ runner.OS }}-node-
27 ${{ runner.OS }}-
28
29 - name: Install dependencies
30 shell: bash
31 run: yarn install --frozen-lockfile