Skip to content

Commit c38a5b2

Browse files
committed
Add CI workflow and rename playground packages
- Introduced a new CI workflow in `.github/workflows/ci.yaml` to automate builds and checks on push and pull request events. - Renamed playground package names for consistency, changing prefixes from `@storyblok/richtext-playground-*` to `@storyblok/playground-richtext-*` across multiple package.json files in the richtext playground.
1 parent 57dced4 commit c38a5b2

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version-file: '.nvmrc'
19+
cache: 'pnpm'
20+
21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v2
23+
with:
24+
version: 8
25+
26+
- name: Install dependencies
27+
run: pnpm install
28+
29+
- name: Check
30+
run: pnpm nx run-many --target=build,lint --parallel=5 --exclude="@storyblok/playground-*"

packages/richtext/playground/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@storyblok/richtext-playground-astro",
2+
"name": "@storyblok/playground-richtext-astro",
33
"type": "module",
44
"version": "0.0.1",
55
"scripts": {

packages/richtext/playground/node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@storyblok/richtext-playground-node",
2+
"name": "@storyblok/playground-richtext-node",
33
"version": "1.0.0",
44
"description": "",
55
"author": "",

packages/richtext/playground/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@storyblok/richtext-playground-react",
2+
"name": "@storyblok/playground-richtext-react",
33
"type": "module",
44
"version": "0.0.0",
55
"private": true,

packages/richtext/playground/vanilla/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@storyblok/richtext-playground-vanilla",
2+
"name": "@storyblok/playground-richtext-vanilla",
33
"type": "module",
44
"version": "0.0.0",
55
"private": true,

packages/richtext/playground/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@storyblok/richtext-playground-vue",
2+
"name": "@storyblok/playground-richtext-vue",
33
"type": "module",
44
"version": "0.0.0",
55
"private": true,

0 commit comments

Comments
 (0)