Skip to content

Publish

Publish #658

Workflow file for this run

name: Build and test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache YARN dependencies
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-yarn-cache-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-yarn-cache-
- name: Install
run: yarn --no-progress --non-interactive --frozen-lockfile
- name: Lint
run: yarn lint
- name: Prettier
run: yarn format
- name: Build
run: yarn build
- name: Test
run: CI=true yarn test
# Few tips github actions
# - name: Setup SSH debug session
# uses: mxschmitt/action-tmate@v2