Skip to content

passing errors instead of strings to observables (#26) #25

passing errors instead of strings to observables (#26)

passing errors instead of strings to observables (#26) #25

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download dependencies
run: |
npm install
- name: Compile TypeScript
run: |
./node_modules/typescript/bin/tsc
- name: Publish to npm
run: |
echo registry=https://registry.npmjs.org/ >> .npmrc
echo //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} >> .npmrc
echo [email protected] >> .npmrc
echo always-auth=true >> .npmrc
npm config set registry https://registry.npmjs.org/
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}