Skip to content

Rel/0.4.1

Rel/0.4.1 #402

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
permissions:
contents: write
jobs:
lint:
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_15.1.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- run: |
curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.1.0/ktlint && chmod a+x ktlint && sudo mv ktlint /usr/local/bin/
- name: Lint files
run: |
yarn lint
if [ -f "package-lock.json" ];
then echo "package-lock.json is not allowed";
exit 1;
fi
- name: Typecheck files
run: yarn typecheck
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage
build-library:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Build package
run: yarn prepare