test workflow

This commit is contained in:
Eric Fennis
2021-04-05 18:00:05 +02:00
parent 5a1e09073d
commit 0358960400

View File

@@ -4,8 +4,8 @@ on:
push:
branches:
- master
paths:
- icons/**
# paths:
# - icons/**
jobs:
create-release:
@@ -14,12 +14,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn_cache
run: echo "::set-output name=YARN_CACHE_DIR::$(yarn cache dir)"
- name: Get cached packaged
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ needs.pre-build.outputs.YARN_CACHE_DIR }}
path: ${{ steps.yarn_cache.outputs.YARN_CACHE_DIR }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-