2019-10-01 21:38:55 +02:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
name: Release
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-01-10 22:21:30 +01:00
|
|
|
- uses: actions/checkout@v2.4.0
|
2019-10-01 21:38:55 +02:00
|
|
|
- name: Use Node (latest)
|
2022-01-10 22:20:47 +01:00
|
|
|
uses: actions/setup-node@v2.5.1
|
2019-10-01 21:38:55 +02:00
|
|
|
with:
|
2021-03-26 18:04:19 +01:00
|
|
|
node-version: 14
|
2019-10-01 21:38:55 +02:00
|
|
|
- name: Install
|
2020-10-11 10:06:21 -07:00
|
|
|
run: yarn install
|
2019-10-01 21:38:55 +02:00
|
|
|
- name: Build
|
|
|
|
run: yarn code:build
|
2021-04-09 10:13:42 +02:00
|
|
|
- name: Publish
|
|
|
|
run: sh scripts/publish.sh
|
|
|
|
env:
|
|
|
|
REGISTRY_AUTH_TOKEN: ${{ secrets.REGISTRY_AUTH_TOKEN }}
|
|
|
|
REGISTRY_URL: registry.npmjs.org
|
2021-08-20 08:28:41 +02:00
|
|
|
# FIXME: there is an issue where all the changelog is copied to the release notes (all versions)
|
|
|
|
# - name: Create release notes
|
|
|
|
# run: sh scripts/github-release.sh
|
|
|
|
# env:
|
|
|
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|