fix: 更新版本号至3.2.2,并优化jx3_element.js中的事件处理逻辑 #30
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: Publish NPM Package | |
| on: [push] | |
| # on: | |
| # push: | |
| # branches: | |
| # - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: "22" | |
| - name: Install && Build | |
| run: | | |
| npm install | |
| publish-npm: | |
| # needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: "22.14.0" | |
| registry-url: https://registry.npmjs.org/ | |
| # - run: npm ci | |
| - run: npm publish --access public | |
| env: | |
| NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
| # publish-gpr: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Checkout | |
| # uses: actions/checkout@v3 | |
| # - name: Use Node.js | |
| # uses: actions/setup-node@v3 | |
| # with: | |
| # always-auth: true | |
| # node-version: "16.x" | |
| # registry-url: https://npm.pkg.github.com | |
| # scope: "@fuyanlove" | |
| # - name: Publish Package | |
| # run: npm publish | |
| # env: | |
| # NODE_AUTH_TOKEN: ${{secrets.ACCESS_TOKEN}} |