mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-07-31 11:40:09 +02:00
ci: Add semantic-release
Add `semantic-release` to the repo and the build pipeline. This will handle automatically publishing to npm based on commit messages. #13
This commit is contained in:
@@ -87,9 +87,8 @@ jobs:
|
||||
# yarn run build
|
||||
# fi
|
||||
|
||||
|
||||
- run:
|
||||
name: Build the Application
|
||||
name: Build the Framework
|
||||
command: npm run build
|
||||
|
||||
- save_cache:
|
||||
@@ -133,13 +132,17 @@ jobs:
|
||||
# name: Generate and upload coverage report
|
||||
# command: yarn test-coverage
|
||||
|
||||
deploy:
|
||||
release:
|
||||
<<: *defaults
|
||||
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: .
|
||||
|
||||
- run:
|
||||
name: Release
|
||||
command: npx semantic-release
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -167,7 +170,7 @@ workflows:
|
||||
only:
|
||||
- master
|
||||
- develop
|
||||
- deploy:
|
||||
- release:
|
||||
requires:
|
||||
# - test
|
||||
- build
|
||||
|
4737
package-lock.json
generated
4737
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nes.css",
|
||||
"version": "0.0.2",
|
||||
"version": "0.0.0-development",
|
||||
"description": "NES.css is NES-style CSS Framework.",
|
||||
"scripts": {
|
||||
"watch": "npm run build:sass -- --watch",
|
||||
@@ -11,13 +11,14 @@
|
||||
"build:sass": "node-sass --output-style expanded --source-map true scss/nes.scss css/nes.css",
|
||||
"build:autoprefix": "postcss --use autoprefixer --map false --output css/nes.css css/nes.css",
|
||||
"build:cleancss": "cleancss -o css/nes.min.css css/nes.css",
|
||||
"deploy": "npm run build",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"build:storybook": "build-storybook"
|
||||
"build:storybook": "build-storybook",
|
||||
"deploy": "npm run build",
|
||||
"semantic-release": "semantic-release"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/BcRikko/NES.css.git"
|
||||
"url": "https://github.com/BcRikko/NES.css.git"
|
||||
},
|
||||
"keywords": [
|
||||
"css",
|
||||
@@ -47,6 +48,7 @@
|
||||
"postcss-cli": "^6.0.0",
|
||||
"prettier": "^1.15.2",
|
||||
"rimraf": "^2.6.2",
|
||||
"semantic-release": "^15.12.3",
|
||||
"stylelint": "^9.5.0",
|
||||
"stylelint-config-prettier": "^4.0.0",
|
||||
"stylelint-config-recess-order": "^2.0.0",
|
||||
|
Reference in New Issue
Block a user