Skip to content

Merge pull request #256 from GTOsss/dependabot/npm_and_yarn/ws-7.5.10 #382

Merge pull request #256 from GTOsss/dependabot/npm_and_yarn/ws-7.5.10

Merge pull request #256 from GTOsss/dependabot/npm_and_yarn/ws-7.5.10 #382

name: check pull request
on: pull_request
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup Node
- uses: actions/setup-node@v1
with:
node-version: '12'
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install
- run: yarn lint
- run: yarn test
- run: yarn build