Skip to content

chore: add deprecation notice (#86) #68

chore: add deprecation notice (#86)

chore: add deprecation notice (#86) #68

Workflow file for this run

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"