Skip to content

v1.6.74

v1.6.74 #92

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Node.js Package
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 13
registry-url: https://npm.pkg.github.com/
scope: '@flyingeek'
- run: npm ci
- run: npm run makewmo
- run: npm run build
- run: npm test
- uses: ncipollo/release-action@v1
with:
artifacts: './dist/wmo.json, ./dist/wmo.var.js, ./dist/lidojs.js, ./dist/lidojs.min.js, ./dist/lidojs.var.min.js'
token: ${{ secrets.GITHUB_TOKEN }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}