forked from Mirror/attic-action
This commit is contained in:
parent
80432ea2ff
commit
6544c41112
1 changed files with 1 additions and 26 deletions
|
@ -8,37 +8,12 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-cache:
|
test-cache:
|
||||||
strategy:
|
runs-on: nix-flakes
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Docker
|
|
||||||
run: |
|
|
||||||
apt-get update &&
|
|
||||||
apt-get -qy full-upgrade &&
|
|
||||||
apt-get install -qy curl &&
|
|
||||||
apt-get install -qy curl &&
|
|
||||||
apt-get install -qy sudo &&
|
|
||||||
curl -sSL https://get.docker.com/ | sh
|
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v3
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
cache: pnpm
|
|
||||||
cache-dependency-path: pnpm-lock.yaml
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: pnpm install && pnpm build
|
|
||||||
|
|
||||||
- name: Install Nix
|
|
||||||
uses: https://github.com/DeterminateSystems/nix-installer-action@v9
|
|
||||||
|
|
||||||
- name: Setup Attic Cache
|
- name: Setup Attic Cache
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue