cetirizine

An experimental matrix client written in reactjs utilizing tailwind and storybook
git clone git://archive.git.mtrnord.blog/MTRNord/cetirizine.git
Log | Files | Refs | README | LICENSE

commit d1cff27528217fe3b582eaccec4e4dbdf4df6ac4
parent bb599de8d242358ff6f17357f752696c063cce52
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon,  8 May 2023 00:17:55 +0200

Try to fix auth of npm registry

Diffstat:
M.github/workflows/deploy.yaml | 3+++
M.github/workflows/percy.yaml | 3+++
Mvite.config.ts | 2+-
3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml @@ -23,6 +23,9 @@ jobs: npm run build-storybook -- --disable-telemetry -o dist/storybook cp dist/index.html dist/404.html + env: + # also other environment variable + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4.4.1 with: diff --git a/.github/workflows/percy.yaml b/.github/workflows/percy.yaml @@ -16,6 +16,9 @@ jobs: export NODE_OPTIONS="--max_old_space_size=4096" npm install npx browserslist@latest --update-db + env: + # also other environment variable + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | export NODE_OPTIONS="--max_old_space_size=4096" npm run storybook -- --no-open & diff --git a/vite.config.ts b/vite.config.ts @@ -7,5 +7,5 @@ export default defineConfig({ appType: 'mpa', build: { target: 'esnext' - } + }, }) \ No newline at end of file