Skip to content

Merge pull request #65 from loupeteam/feature/read-group-fix #31

Merge pull request #65 from loupeteam/feature/read-group-fix

Merge pull request #65 from loupeteam/feature/read-group-fix #31

# 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://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Publish Loupe UX
on:
push:
branches:
- main
- webhmi/main
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src/HMI
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
publish-all:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
packages: [src/HMI, test/node]
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- uses: JS-DevTools/npm-publish@v2
id: publish
with:
token: ${{ secrets.GITHUB_TOKEN }}
registry: "https://npm.pkg.github.com"
package: ${{ matrix.packages }}