Skip to content

Create pre-release for v1.1.1-rc4 #11

Create pre-release for v1.1.1-rc4

Create pre-release for v1.1.1-rc4 #11

Workflow file for this run

on:
push:
tags:
- "v*-rc*"
- "v*-alpha*"
- "v*-beta*"
name: Create pre-release
run-name: Create pre-release for `${{ github.ref_name }}`
jobs:
release-wasm:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup
run: npm run setup
- name: Build WASM module
run: npm run build:wasm
- name: Pre-Release
uses: softprops/action-gh-release@v1
with:
files: ./out/msfs_navigation_data_interface.wasm
prerelease: true
generate_release_notes: true
# Enable in future to automate publishing of NPM package
# release-js:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: "18"
# registry-url: 'https://registry.npmjs.org'
# cache: "npm"
# - name: Install node modules
# run: npm ci
# - name: Build JS Interface
# run: cd src/js && npm run build
# - name: Publish to NPM
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: cd src/js && npm publish --tag next