Skip to content

Update package.json #25

Update package.json

Update package.json #25

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Lint files
run: yarn lint
- name: Typecheck files
run: yarn typecheck
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage
build-library:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Build package
run: yarn prepare
- name: Login NPM
run: echo "//npm.pkg.github.com/:_authToken=${{secrets.GHP_TOKEN}}" > ~/.npmrc
- name: Config Git
run: |
git config --global user.email "hmdarkfire.dev@gmail.com"
git config --global user.name "Henrique Marques"
- name: Push package
run: yarn release