Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Merge pull request #12 from KartikKSrivastava/codeql #4

Merge pull request #12 from KartikKSrivastava/codeql

Merge pull request #12 from KartikKSrivastava/codeql #4

Workflow file for this run

---
name: Release
on:
push:
branches: [master]
# Only allow one release workflow to execute at a time, since each release
# workflow uses shared resources (git tags, package registries)
concurrency:
group: ${{ github.workflow }}
jobs:
release:
name: Release
if: github.repository_owner == 'BitGo'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js
uses: actions/setup-node@v3
with:
cache: "pnpm"
node-version: lts/*
- name: Install dependencies
run: pnpm install
- name: Compile TypeScript
run: pnpm build
- name: Test
run: pnpm test
- name: Release
run: pnpm dlx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}