Release 0.4.3 #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://docs.npmjs.com/trusted-publishers#github-actions-configuration | |
| name: Deploy package | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - "[0-9].[0-9].[0-9]" | |
| permissions: | |
| id-token: write # Required for OIDC | |
| contents: read | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| environment: Deploy | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24.x" | |
| registry-url: "https://registry.npmjs.org" | |
| package-manager-cache: false # never use caching in release builds | |
| - name: Summary Head | |
| run: | | |
| echo "# Deployment Summary" >> $GITHUB_STEP_SUMMARY | |
| echo "Date: $(date) " >> $GITHUB_STEP_SUMMARY | |
| echo "Run ID: ${{ github.run_id }} " >> $GITHUB_STEP_SUMMARY | |
| echo "Run Number: ${{ github.run_number }} " >> $GITHUB_STEP_SUMMARY | |
| echo "Run Attempt: ${{ github.run_attempt }} " >> $GITHUB_STEP_SUMMARY | |
| echo "Node Version: $(node --version) - NPM Version: $(npm --version) " >> $GITHUB_STEP_SUMMARY | |
| - name: Install | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test | |
| run: npm run test | |
| - name: Publish | |
| run: npm publish |