Skip to content

Testing the shanges #28

Testing the shanges

Testing the shanges #28

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: publish
on:
pull_request:
branches: ["main"]
env:
NODE_VERSION: 18.x
jobs:
publish:
name: Publish to NPM
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: ${{ env.NODE_VERSION }}
# registry-url: https://registry.npmjs.org/
# cache: npm
# - run: npm ci
# - run: npm run build ngx-charts-on-fhir
# - run: npm publish dist/libs/ngx-charts-on-fhir/ --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
build-docs:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
- run: npm ci
- run: dist/apps/documentation/browser/index.html -- --base-href=/charts-on-fhir/
- run: cp dist/apps/documentation/index.html dist/apps/documentation/404.html # Needed for Angular routing
- uses: actions/upload-pages-artifact@v3
with:
path: dist/apps/documentation
deploy-docs:
name: Publish Documentation
needs: build-docs
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4