Skip to content

fix: standalone components (#108) #20

fix: standalone components (#108)

fix: standalone components (#108) #20

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
strategy:
matrix:
node-version: [22]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install ⚙️
run: npm ci --legacy-peer-deps
- name: Build 🛠
run: npm run build:ci
- name: Test 📋
run: npm run test:ci
- name: Publish 📢
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
repository-name: BugSplat-Git/bugsplat-git.github.io
branch: gh-pages
folder: dist/ngb-filterable-dropdown-example
target-folder: ngb-filterable-dropdown-example
token: ${{ secrets.GH_TOKEN }}