docs(composables): fix module name for ngxs entry point #44
This file contains 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
name: Publish Docs to the Wiki | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
concurrency: | |
group: publish-wiki | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
jobs: | |
install-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache node modules | |
id: cache | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: cache-node-modules-${{ hashFiles('package-lock.json') }} | |
- uses: actions/setup-node@v4 | |
if: steps.cache.outputs.cache-hit != 'true' | |
with: | |
node-version: 20.x | |
- name: NPM install | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm ci | |
publish: | |
runs-on: ubuntu-latest | |
needs: install-deps | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cache node modules | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: cache-node-modules-${{ hashFiles('package-lock.json') }} | |
- name: Build Docs | |
run: scripts/build-docs.sh | |
- name: Upload Docs to Wiki | |
uses: Andrew-Chen-Wang/github-wiki-action@v4 | |
with: | |
path: 'docs' |