Skip to content

v1.76.1

v1.76.1 #51

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'npm'
registry-url: 'https://registry.npmjs.org/'
- name: Install Dependencies
run: npm install
- name: Build PlayCanvas
run: npm run build
- name: Run Publint
run: npm run publint
- name: Publish to npm
run: npm publish --tag lts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}