Skip to content

Add Denied icon

Add Denied icon #123

Workflow file for this run

name: Release
on:
pull_request:
types: [closed]
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release-v') }}
env:
CHANGELOG: ${{ github.event.pull_request.body }}
GH_TOKEN: ${{ github.token }}
REF_BRANCH: ${{ github.event.pull_request.head.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install dependencies
run: yarn install --pure-lockfile
- name: Typecheck
run: yarn typecheck
- name: Lint
run: yarn lint
- name: Run tests
run: yarn test
- name: Check licenses
run: yarn license-check
- name: Pack
run: yarn build
- name: Publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
yarn workspace @swan-io/lake publish
yarn workspace @swan-io/shared-business publish
- name: Get version
id: version
run: echo version="$REF_BRANCH" | sed -e 's/release-//g' >> $GITHUB_OUTPUT
- name: Create GitHub release
run: gh release create ${{ steps.version.outputs.version }} --title ${{ steps.version.outputs.version }} --notes "$CHANGELOG"