mirror of
https://github.com/mirego/accent.git
synced 2024-10-26 10:30:58 +03:00
Cache dependencies during CI builds (#375)
This commit is contained in:
parent
c26875c8bd
commit
3a8b948bde
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
@ -24,15 +24,29 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- uses: erlef/setup-elixir@v1
|
||||
- uses: erlef/setup-beam@v1
|
||||
id: setup-beam
|
||||
with:
|
||||
otp-version: 25.0.2
|
||||
elixir-version: 1.14.x
|
||||
version-file: .tool-versions
|
||||
version-type: strict
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
deps
|
||||
_build
|
||||
priv/plts
|
||||
key: ${{ runner.os }}-mix-${{ steps.setup-beam.outputs.otp-version }}-${{ steps.setup-beam.outputs.elixir-version }}-${{ hashFiles(format('{0}/mix.lock', github.workspace)) }}
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.13.x
|
||||
cache: 'npm'
|
||||
node-version-file: .tool-versions
|
||||
cache: npm
|
||||
cache-dependency-path: |
|
||||
package-lock.json
|
||||
cli/package-lock.json
|
||||
jipt/package-lock.json
|
||||
webapp/package-lock.json
|
||||
|
||||
- name: Install System Dependencies
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user