Skip to content

Commit

Permalink
Create canary release
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Jan 15, 2024
1 parent a2036bf commit be405ec
Show file tree
Hide file tree
Showing 5 changed files with 1,138 additions and 57 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/nodejs.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release

on: [push]

jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
run_install: true
- name: Test
run: pnpm test
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npx auto shipit
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ node_modules
*.log
node_modules
.vscode

.env
16 changes: 12 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/linter-config",
"version": "4.0.0",
"version": "3.1.2",
"private": false,
"description": "The config storybook uses to lint code",
"keywords": [
Expand Down Expand Up @@ -37,21 +37,22 @@
"scripts": {
"test": "pnpm run test:eslint && pnpm run test:conflicts",
"test:eslint": "eslint -c package.json --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives ./test",
"test:conflicts": "eslint-config-prettier eslint.config.js"
"test:conflicts": "eslint-config-prettier eslint.config.js",
"release": "auto shipit"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-file-progress": "^1.3.0",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-json-files": "^4.1.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-file-progress": "^1.3.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"remark-cli": "^12.0.0",
Expand All @@ -60,6 +61,7 @@
},
"devDependencies": {
"@types/react": "^18.2.48",
"auto": "^11.0.4",
"eslint": "^8.56.0",
"prettier": "^3.2.2",
"react": "^18.2.0",
Expand All @@ -72,5 +74,11 @@
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/storybook"
},
"auto": {
"plugins": [
"npm",
"released"
]
}
}
}
Loading

0 comments on commit be405ec

Please sign in to comment.