chore: Introduce Common Open Source Tooling into Codebase to Increase Productivity and Developer Experience #1
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: Release | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: ποΈ Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # All history for branches and tags | |
- name: π¦ Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: π οΈ Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '${{ matrix.node-version }}' | |
cache: pnpm | |
- name: π Install Dependencies | |
run: pnpm i | |
- name: π€ Run Semantic Release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: pnpm exec semantic-release | |
- name: π° Profit | |
run: echo π |