feat(workflow): add release action

This commit is contained in:
moklick
2024-07-01 12:13:08 +02:00
parent 7e42e20f67
commit 25e52f78b9
5 changed files with 65 additions and 2 deletions

19
.github/actions/ci-checks/action.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: 'CI checks'
runs:
using: 'composite'
steps:
- name: Build
run: pnpm build
shell: bash
- name: Typecheck
run: pnpm typecheck
shell: bash
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Test React Flow
run: pnpm test:react
shell: bash
# - name: Test Svelte Flow
# run: pnpm test:svelte
# shell: bash

15
.github/actions/ci-setup/action.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: 'CI setup'
runs:
using: 'composite'
steps:
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
shell: bash