Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a monorepo #4

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- uses: actions/setup-node@v4
with:
cache: pnpm
check-latest: true
node-version: 22
- run: npm ci
- run: npm run build
- name: Publish to npm
uses: pascalgn/[email protected]
- run: pnpm install --frozen-lockfile
- run: pnpm run -r build
- run: pnpm publish -r --access public --no-git-checks
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
20 changes: 12 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Tests
on:
pull_request:
branches: [main]
push:
branches: [main]
paths-ignore: ['docs/**', '**/README.md']
pull_request:
paths-ignore: ['docs/**', '**/README.md']
jobs:
functional_tests:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
- uses: actions/setup-node@v4
with:
cache: pnpm
check-latest: true
node-version: 22
- run: npm i
- run: npm run build
- run: npm test
- run: pnpm install --frozen-lockfile
- run: pnpm run -r build
- run: pnpm run -r test
9 changes: 2 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
*.log
.DS_Store
node_modules
dist
.tests
hvps
lab
archive
node_modules
40 changes: 0 additions & 40 deletions bin/setup.sh

This file was deleted.

Loading