Bump nanoid from 3.3.7 to 3.3.8 #275
This file contains hidden or 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: build | |
on: | |
- push | |
jobs: | |
release: | |
# needs: test | |
runs-on: ubuntu-latest | |
#if: github.ref == 'refs/heads/master' | |
name: npm upload | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18.18.2" | |
- name: cache | |
uses: actions/[email protected] | |
with: | |
path: | | |
node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: upload | |
run: | | |
git submodule update --init --recursive | |
make build | |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc | |
npm publish || true | |
unlink katex/README.md && cp README.md katex/README.md | |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > katex/.npmrc | |
cd katex && npm publish || true |