Skip to content

script to build esm #18

script to build esm

script to build esm #18

Workflow file for this run

name: Dev Packages
on:
push:
branches:
- '**'
- '!master'
tags-ignore:
- '**'
env:
SECRETS: ${{ toJSON(secrets) }}
GITHUB_TOKEN: ${{ secrets.SHARED_GH_TOKEN }}
jobs:
build:
name: Create Development Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0
- uses: actions/checkout@v4
with:
repository: journeyapps-platform/ci-actions
token: ${{ secrets.SHARED_GH_TOKEN }}
path: .github/ci
ref: v1
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: 22.16
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
- name: Install Dependencies
uses: ./.github/ci/actions/npm-install
with:
client: pnpm
- name: Has changesets
uses: bluwy/detect-changesets-action@v1
id: detect
- name: Build
run: pnpm build
- name: Publish dev packages.
if: ${{ steps.detect.outputs.has-changesets == 'true' && success() }}
uses: ./.github/ci/actions/pnpm-publish
with:
dev: true