Skip to content

🔊 Add debug logging #16

🔊 Add debug logging

🔊 Add debug logging #16

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
concurrency:
group: github.ref
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run lint
build:
needs: [lint]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build:ci --workspace cli
- run: ./scripts/version.sh
working-directory: apps/cli
- name: Get current package version
id: current_version
run: echo "version=$(./scripts/version.sh)" >> $GITHUB_OUTPUT
working-directory: apps/cli
- uses: mukunku/tag-exists-action@v1.4.0
id: check_tag
with:
tag: '${{ steps.current_version.version }}'
- uses: marvinpinto/action-automatic-releases@latest
if: steps.check_tag.outputs.exists == 'false'
with:
repo_token: '${{ secrets.GITHUB_TOKEN }}'
automatic_release_tag: '${{ steps.current_version.version }}'
prerelease: false
files: ./apps/cli/zig-out/*