mirror of
https://github.com/material-components/material-web.git
synced 2026-03-09 00:09:23 +08:00
32 lines
638 B
YAML
32 lines
638 B
YAML
name: Publish
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
cache: npm
|
|
- uses: google/wireit@setup-github-actions-caching/v1
|
|
|
|
- run: npm ci
|
|
- run: npm run build
|
|
env:
|
|
WIREIT_FAILURES: continue
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
registry-url: 'https://wombat-dressing-room.appspot.com/'
|
|
- run: npm publish
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|