Skip to content

Change trigger to also include tags #10

Change trigger to also include tags

Change trigger to also include tags #10

name: RaphaelJenni/FirebaseUI-Angular
on:
push:
branches:
- 'master'
tags:
- 'v*'
concurrency:
group: "${{ github.ref }}"
cancel-in-progress: true
env:
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: checkout
uses: actions/checkout@v4.1.0
- run: npm ci
- run: npm run build-lib
- run: cd dist/firebaseui-angular-library
- run: npm publish
if: github.ref_type == 'tag'
env:
NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"