Skip to content

reload config during non-upgrade #45

reload config during non-upgrade

reload config during non-upgrade #45

Workflow file for this run

name: ci
on:
- push
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: '18'
- name: Checkout repository
uses: actions/checkout@master
- name: Run make
run: make
- name: Publish package to NPM
if: startsWith(github.ref, 'refs/tags/v')
run: |
echo '//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}' > .npmrc
npm publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
docs:
name: docs
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./docs
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1