Skip to content

feat: bump btjs (#257) #107

feat: bump btjs (#257)

feat: bump btjs (#257) #107

Workflow file for this run

name: Release
on:
push:
branches: [master, release]
jobs:
build-release:
environment: PROD
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['18.x']
os: [ubuntu-latest]
env:
CI: 1
HUSKY: 0 # disables husky hooks
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
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: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
with:
install-command: yarn --frozen-lockfile --no-progress --ignore-scripts
- name: Build
run: make build
env:
SKIP_INSTALL: 1 # install with cache was done already
- name: Release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GH_SEMANTIC_RELEASE_PAT }}
- 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'