Skip to content

Merge pull request #1139 from ZopaPublic/changeset-release/errorMsgIcon #1183

Merge pull request #1139 from ZopaPublic/changeset-release/errorMsgIcon

Merge pull request #1139 from ZopaPublic/changeset-release/errorMsgIcon #1183

Workflow file for this run

name: CI
on: push
jobs:
check:
name: Test and release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 9
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run typecheck
run: pnpm typecheck
- name: Run tests
run: pnpm test
- name: Run linter
uses: reviewdog/action-eslint@v1
with:
reporter: github-pr-review
eslint_flags: 'src/**/*.{ts,tsx}'