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

Merge pull request #2 from JupiterOne/SRE-1373-replace-codeowners #2

Merge pull request #2 from JupiterOne/SRE-1373-replace-codeowners

Merge pull request #2 from JupiterOne/SRE-1373-replace-codeowners #2

Workflow file for this run

name: Release
on:
push:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
environment: npm
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test
- name: Publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.LIFEOMIC_NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
yarn semantic-release