Skip to content

Commit e851b2d

Browse files
committed
ci: test actions
1 parent 130a80f commit e851b2d

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

.github/workflows/build-deploy-docs.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,23 @@ name: Build docs
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
jobs:
77
build-and-deploy:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout 🛎️
1111
uses: actions/[email protected]
1212

13+
- name: Enable Corepack
14+
run: corepack enable
15+
16+
- name: Use Node.js 20.x
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '20.x'
20+
cache: 'yarn'
21+
1322
- name: Install and build docs 🔧
1423
run: |
1524
yarn

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,23 @@ name: Publish to Npm
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
jobs:
77
publish:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout 🛎️
1111
uses: actions/[email protected]
1212

13+
- name: Enable Corepack
14+
run: corepack enable
15+
16+
- name: Use Node.js 20.x
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '20.x'
20+
cache: 'yarn'
21+
1322
- name: Install 🔧
1423
run: yarn
1524

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const preview: Preview = {
1313
options: {
1414
storySort: {
1515
order: [
16-
'Intro',
16+
'Introduction',
1717
'Examples',
1818
['Basic Transition', 'Fade Transition', ['Inline Styles']],
1919
'Components',

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-transitioning",
3-
"version": "0.0.0",
3+
"version": "1.0.0",
44
"description": "React components for easily implementing basic CSS animations and transitions",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.esm.js",
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"prepare": "husky",
1818
"prepublishOnly": "yarn run lint && yarn run build",
19-
"lint": "eslint src && eslint examples",
19+
"lint": "eslint src && eslint stories",
2020
"watch": "tsup --watch",
2121
"build": "tsup --clean",
2222
"dev": "storybook dev -p 6006",

0 commit comments

Comments
 (0)