Skip to content

bump version to 3.0.9 #25

bump version to 3.0.9

bump version to 3.0.9 #25

Workflow file for this run

name: Publish to npm
on:
push:
tags:
- "*.*.*"
workflow_dispatch:
jobs:
publish:
name: Build and Publish to npmjs.com
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Initialize LiaScript submodule
run: git submodule update --init LiaScript
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- name: Set ELM_HOME
run: echo "ELM_HOME=${GITHUB_WORKSPACE}/.elm" >> $GITHUB_ENV
- name: Load additional branches
run: |
cd LiaScript
git fetch origin feat/fullPage:refs/heads/feat/fullPage feat/capacitor8:refs/heads/feat/capacitor8
npm install
npm run prebuild
make -C patches/elm-patch ELM_HOME=${ELM_HOME} || true
- name: Build and prepare for publish
run: npm run build:all
- name: Publish to npmjs.com
run: npm publish --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_KEY }}