Skip to content

Release 1.4.0

Release 1.4.0 #23

Workflow file for this run

name: Release build
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Set up git
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: |
yarn test
- name: Build package
run: |
yarn pack
- name: Setup registry for NPM
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
scope: '@exposr'
- name: Publish package to NPM registry
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
run: |
yarn publish --access public
- name: Setup github packages
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@exposr'
- name: Publish package to github packages
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn publish
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: ${{ startsWith(github.ref, '/refs/tags/v0') }}
files: |
exposr-ws-multiplex-*