Skip to content

feat: Add github actions #3

feat: Add github actions

feat: Add github actions #3

Workflow file for this run

name: Create GitHub Release
on:
push:
tags:
- 'v*'
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build app
run: yarn build
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_VIEW }}
run: |
gh release create ${{ github.ref_name }} \
--title "Release ${{ github.ref_name }}" \
--generate-notes