Skip to content

feat: all-in-one executable #70

feat: all-in-one executable

feat: all-in-one executable #70

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- name: Hotfix for yarn bin resolution
run: echo "$(yarn bin)" >> $GITHUB_PATH
- run: yarn lint
- run: yarn test
build-and-release:
needs: [lint-and-test]
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install --immutable
- name: Hotfix for yarn bin resolution
run: echo "$(yarn bin)" >> $GITHUB_PATH
- run: yarn build
- name: Release
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release