Skip to content

Merge pull request #51 from Uscreen-video/next #51

Merge pull request #51 from Uscreen-video/next

Merge pull request #51 from Uscreen-video/next #51

Workflow file for this run

name: Release
on:
push:
branches:
- main
- next
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'pnpm'
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: pnpm install --prefer-offline --frozen-lockfile
- name: Build
run: pnpm run build
- name: Test
run: echo RUN TESTS
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm dlx semantic-release