chore: add release pipeline #2
Workflow file for this run
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: 'Detect build issues & coding standards' | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: 📥 dependency installation | |
uses: ./.github/actions/pnpm-install | |
# Run the linter and verifies the formatting of a set of files. If any errors are found the process exits with a code of 1. | |
- name: Validate code standards | |
run: pnpm validate:ci | |
# Run the build | |
- name: Generate dependencies | |
run: pnpm sdk generate | |
# Run the build | |
- name: Build the project | |
run: pnpm sdk prepublish |