Skip to content

fix: Test wasn't running and fixed missing TextListener #18

fix: Test wasn't running and fixed missing TextListener

fix: Test wasn't running and fixed missing TextListener #18

Workflow file for this run

name: CI Pipeline
permissions:
contents: read
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
release:
needs: [test]
runs-on: ubuntu-latest
permissions:
contents: write
if: github.ref == 'refs/heads/main' && ${{ success() }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release