Skip to content

v0.1.0 release

v0.1.0 release #43

Workflow file for this run

name: Build
on:
push:
branches:
- main
- release-*
tags:
- v*
pull_request:
branches:
- main
- release-*
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- uses: actions/setup-go@v5
with:
go-version: "1.24"
- name: Install Apex CLI
run: deno install -g -A --unstable-worker-options -f -n apex jsr:@apexlang/apex
# Temporarily disable until it's determined why apex generate is not writing files.
# - name: Generator diff test
# run: ./diffcheck.sh
# working-directory: ./testdata
- name: Is Release?
if: startswith(github.ref, 'refs/tags/v')
run: echo "DEPLOY_PACKAGE=true" >> $GITHUB_ENV
- name: Publish to npm
if: env.DEPLOY_PACKAGE == 'true'
run: npx jsr publish