Skip to content

Test 2.

Test 2. #28

name: "@iwsio/forms: PUSH to main"
on:
push:
branches: [ main ]
paths:
- 'forms/**'
jobs:
tests:
if: ${{ !contains(github.event.head_commit.message, '#skip') }}
uses: iwsllc/workflows/.github/workflows/test.yaml@main
with:
node_version: 22
build_command: npm run build -w forms
version:
needs: tests
if: ${{ !contains(github.event.head_commit.message, '#skip') }}
uses: iwsllc/workflows/.github/workflows/version.yaml@main
with:
git_ref_name: main
node_version: 22
version_command: npm version patch -ws --include-workspace-root
tag_include_name: false
publish:
needs: version
if: ${{ !contains(github.event.head_commit.message, '#skip') }}
uses: iwsllc/workflows/.github/workflows/publish.yaml@main
with:
git_ref_name: main
node_version: 22
install_command: npm ci -w forms
build_command: npm run build -w forms
publish_command: npm publish -w forms --access public
secrets:
# This token is used for reading npm packages; use when private packages are used
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
deploy_demo:
if: ${{ !contains(github.event.head_commit.message, '#skip') }}
needs: version
uses: ./.github/workflows/demo-deploy.yaml
secrets:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}