Skip to content

feat(release): [email protected]

feat(release): [email protected] #31

Workflow file for this run

name: CI
on: [push, pull_request]
env:
CI: true
VERSION: ${{ github.event.pull_request.number }}
jobs:
publish:
name: Install and publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Restore yarn cache
id: yarn-cache
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: |
yarn install --cwd example --frozen-lockfile
yarn install --frozen-lockfile
- name: Check eslint
run: yarn lint
- name: Check test
run: yarn test