chore: add deprecation notice (#86) #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: [master] | |
jobs: | |
release: | |
environment: PROD | |
name: Release | |
runs-on: ubuntu-latest | |
env: | |
CI: 1 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GH_SEMANTIC_RELEASE_PAT }} | |
- name: Start Deploy Message | |
uses: Basis-Theory/github-actions/deploy-slack-action@master | |
with: | |
slack-api-token: ${{ secrets.SLACK_DUCKBOT_API_KEY }} | |
channel: ${{ vars.SLACK_DUCKBOT_RELEASE_CHANNEL_ID }} | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "14" | |
cache: "yarn" | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_SEMANTIC_RELEASE_PAT }} | |
run: | | |
yarn install --frozen-lockfile | |
yarn release | |
- name: Stop Deploy Message | |
if: always() | |
uses: Basis-Theory/github-actions/deploy-slack-action@master | |
with: | |
slack-api-token: ${{ secrets.SLACK_DUCKBOT_API_KEY }} | |
channel: ${{ vars.SLACK_DUCKBOT_RELEASE_CHANNEL_ID }} | |
status: "done" |