We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85dc9ba + a890bdf commit 351698eCopy full SHA for 351698e
3 files changed
.github/workflows/publish.yml
@@ -0,0 +1,34 @@
1
+name: Release
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ setup:
9
+ runs-on: ubuntu-latest
10
+ name: Build and publish MathJax
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
15
+ - uses: pnpm/action-setup@v4
16
+ name: Install pnpm
17
+ with:
18
+ version: 10
19
+ run_install: false
20
21
+ - name: Install packages
22
+ run: pnpm -s i
23
24
+ - name: Build MathJax
25
+ run: |
26
+ ./components/bin/version
27
+ pnpm -s link:src
28
+ pnpm -s build-all
29
30
+ - name: Publish to npm
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33
+ run: pnpm -s publish --access public
34
.github/workflows/test.js.yml .github/workflows/test.yml.github/workflows/test.js.yml renamed to .github/workflows/test.yml
.travis.yml
0 commit comments