Skip to content

chore(deps): update devdependencies (non-major) #1022

chore(deps): update devdependencies (non-major)

chore(deps): update devdependencies (non-major) #1022

Workflow file for this run

# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Tests"
on: [push]
jobs:
test:
name: "Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- name: Use Node.js 12.x
uses: actions/setup-node@v2
with:
node-version: 12.x
- name: set git credentials
run: |
git config --local user.email "[email protected]"
git config --local user.name "Daniel Bannert"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- 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: install
run: yarn install
- name: lint
run: yarn run lint
- name: build
run: yarn run build && yarn run pack
- name: test
run: yarn run test
- name: "Send code coverage report to Codecov.io"
uses: codecov/codecov-action@v1