Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Companion: Emotion #156

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ ignores:
- jsdom
- typescript
- vite
- vite-plugin-dts
- "@vitejs/*"
- vite-plugin-*
- vitest
47 changes: 47 additions & 0 deletions .github/workflows/emotion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "@r2wc/emotion"

on:
push:
workflow_dispatch:
inputs:
segment:
description: "The version segment to increment: major, minor, patch, or prerelease."
required: true
preId:
description: "Appended to the prerelease segment. (default: \"\")"

jobs:
verify:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Verify
uses: ./.github/actions/job-verify

publish:
if: github.event_name == 'workflow_dispatch'
needs: verify

concurrency:
group: "publish"

runs-on: ubuntu-latest
permissions:
contents: write
packages: write

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Publish
uses: ./.github/actions/job-publish
with:
directory: emotion
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
segment: ${{ github.event.inputs.segment }}
preId: ${{ github.event.inputs.preId }}
Loading
Loading