diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 134dd37..36a1ba7 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -43,29 +43,7 @@ jobs: path: tools/kicker/ ref: develop - - name: Cache Kicker cache folder - uses: john-shaffer/cache@sudo-tar - env: - cache-name: kicker-cache - with: - # kicker cache files are stored in `cache` - path: tools/kicker/cache - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('tools/kicker/docker/.build.mode.env') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('tools/kicker/docker/.build.mode.env') }} - - - name: Cache Kicker workspace - uses: actions/cache@v2 - env: - cache-name: kicker-workspace - with: - # kicker workspace files are stored in `workspace` - path: tools/kicker/workspace - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('tools/kicker/docker/.build.mode.env') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('tools/kicker/docker/.build.mode.env') }} - - - name: output kicker verison + - name: output kicker version run: cd tools/kicker && make version - name: start kicker @@ -91,20 +69,6 @@ jobs: # Defaults to the user or organization that owns the workflow file scope: "@polyjuice-provider" - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" - - # Uncomment after fix: https://github.com/actions/runner/issues/449 - # - name: Node Cache - # uses: actions/cache@v2 - # id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - # with: - # path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - # restore-keys: | - # ${{ runner.os }}-yarn- - - name: build and test run: yarn && yarn build && yarn test @@ -127,7 +91,3 @@ jobs: # env: # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Setup tmate session - if: ${{ failure() }} - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15