UNPKG

jcanvas

Version:

jCanvas brings jQuery's powerful syntax and capability to the HTML5 canvas. Quickly create canvas-based apps that can utilize layers, animations, events, and much more. jCanvas works on all modern browsers and platforms, including iOS and Android.

39 lines (30 loc) 840 B
# This workflow will build the Node project and publish the current tagged # release to npm name: publish on: push: tags: - '*' jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Install pnpm uses: pnpm/action-setup@v2 with: version: latest - name: Install Node.js uses: actions/setup-node@v3 with: node-version: 20.x registry-url: 'https://registry.npmjs.org' cache: 'pnpm' - name: Install dependencies run: pnpm install --frozen-lockfile - name: Build & publish to npm # Adding --no-git-checks solves a weird ERR_PNPM_GIT_UNKNOWN_BRANCH # error run: pnpm publish --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}