chore: dont publish some packages yet #1321
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
test: | |
name: Test packages | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install | |
- name: Check lint | |
run: yarn run test:lint | |
- name: Compile packages | |
run: yarn run compile | |
- name: Docker compose | |
run: docker-compose up -d | |
- name: Run tests | |
run: yarn run coverage | |
- name: Upload coverage | |
uses: codecov/codecov-action@v3 | |
test-examples: | |
name: Test examples | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install | |
- name: Compile packages | |
run: yarn run compile | |
- name: Test examples | |
run: yarn run test:examples | |
env: | |
REACT_APP_API_URL: http://localhost:3000 | |
test-documentation: | |
name: Test documentation | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: 'yarn' | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: yarn install | |
- name: Test documentation | |
run: yarn workspace accounts-js run build |