Skip to content

18.0.0

18.0.0 #87

Workflow file for this run

name: Deploy Release
# The job builds the mat-addons, publishes in on npmjs and deploys a new demo on ghpages
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 20
uses: actions/setup-node@v2
with:
node-version: '20'
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm --prefix ./projects/material-addons version ${{ github.event.release.tag_name }}
- run: npm run publish:mat-add
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm run build:mat-add
- run: npm install --no-optional
- run: npm install
- run: npm run publish:demo-ci
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
notify_teams_channel:
name: Notify MAD Release Teams Channel
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- name: Microsoft Teams Notification
uses: skitionek/notify-microsoft-teams@master
if: success()
with:
webhook_url: ${{ secrets.MSTEAMS_WEBHOOK }}
overwrite: "{title: `New release published! ${workflow}`}"