Skip to content

chore(release): 0.2.2 #8

chore(release): 0.2.2

chore(release): 0.2.2 #8

Workflow file for this run

name: Publish to NPM and GitHub Packages
on:
push:
tags:
- v*
jobs:
publish_to_npm:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node.js and NPM
uses: actions/setup-node@v2
with:
registry-url: 'https://registry.npmjs.org'
scope: '@rx-angular'
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci
- name: Publish to NPM
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
publish_to_gpr:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Node.js and NPM
uses: actions/setup-node@v2
with:
registry-url: 'https://npm.pkg.github.com'
scope: '@rx-angular'
node-version-file: .nvmrc
- name: Install dependencies
run: npm ci
- name: Publish to GPR
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}