Skip to content

Create release for v1.1.0 #1

Create release for v1.1.0

Create release for v1.1.0 #1

Workflow file for this run

on:
push:
tags:
- "v*"
- "!v*-rc*"
- "!v*-alpha*"
- "!v*-beta*"
name: Create release
run-name: Create release for `${{ github.ref_name }}`
jobs:
release-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build WASM module
run: npm run build:wasm-workflow
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ./out/msfs_navigation_data_interface.wasm
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