This repository was archived by the owner on Dec 12, 2024. It is now read-only.
feat: github action for creating releases (#144) #123
This file contains hidden or 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: DCX Lint Build Test | |
| on: [push] | |
| jobs: | |
| lint-build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18.x' | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Install dependencies | |
| run: pnpm install -r --no-lockfile | |
| - name: Run linter for all packages | |
| run: pnpm lint | |
| - name: Build all packages | |
| run: pnpm build | |
| - name: Build all tests | |
| run: pnpm build:tests:node | |
| # - name: Run all tests | |
| # run: pnpm test:node | |
| # - name: Upload coverage reports to Codecov | |
| # uses: codecov/[email protected] | |
| # with: | |
| # token: ${{ secrets.CODECOV_TOKEN }} | |
| # slug: TBD54566975/incubation-dcx |