1
0
Fork 0
mirror of https://github.com/rharkor/caching-for-turbo.git synced 2025-06-09 09:35:17 +09:00

refactor: ci

This commit is contained in:
rharkor 2024-06-25 21:14:13 +02:00
parent 6d52157479
commit cd391dc887

View file

@ -63,12 +63,28 @@ jobs:
id: npm-ci
run: npm ci
- name: Test Local Action
- name: Test Local Action (no cache)
uses: ./
with:
# Use a unique cache prefix for each pipeline & job
cache-prefix:
${{ runner.os }}-${{ github.run_id }}-${{ github.run_number }}-${{
runner.os }}
- name: Test build cache
run: npm run test
- name: Test Local Action (with cache)
uses: ./
with:
# Use a unique cache prefix for each pipeline & job
cache-prefix:
${{ runner.os }}-${{ github.run_id }}-${{ github.run_number }}-${{
runner.os }}
- name: Test build cache (full cache)
run: npm run test
test-action-windows:
name: GitHub Actions Test (Windows)
runs-on: windows-latest
@ -89,8 +105,24 @@ jobs:
id: npm-ci
run: npm ci
- name: Test Local Action
- name: Test Local Action (no cache)
uses: ./
with:
# Use a unique cache prefix for each pipeline & job
cache-prefix:
${{ runner.os }}-${{ github.run_id }}-${{ github.run_number }}-${{
runner.os }}
- name: Test build cache
run: npm run test
- name: Test Local Action (with cache)
uses: ./
with:
# Use a unique cache prefix for each pipeline & job
cache-prefix:
${{ runner.os }}-${{ github.run_id }}-${{ github.run_number }}-${{
runner.os }}
- name: Test build cache (full cache)
run: npm run test