one last try
This commit is contained in:
parent
b7bf6ffe08
commit
dec0b31f2e
3 changed files with 8 additions and 2 deletions
5
.github/workflows/canary.yaml
vendored
5
.github/workflows/canary.yaml
vendored
|
|
@ -32,7 +32,6 @@ jobs:
|
|||
with:
|
||||
node-version: 16
|
||||
registry-url: https://registry.npmjs.org
|
||||
scope: '@reuters-graphics'
|
||||
|
||||
- id: cache
|
||||
name: Cache node modules
|
||||
|
|
@ -43,6 +42,10 @@ jobs:
|
|||
restore-keys: |
|
||||
yarn-deps-${{ hashFiles('yarn.lock') }}
|
||||
|
||||
- id: build-package
|
||||
name: Build package
|
||||
run: npm run build:package
|
||||
|
||||
- id: release
|
||||
name: Create Release
|
||||
env:
|
||||
|
|
|
|||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
|
@ -45,6 +45,10 @@ jobs:
|
|||
name: Build docs
|
||||
run: npm run build:docs
|
||||
|
||||
- id: build-package
|
||||
name: Build package
|
||||
run: npm run build:package
|
||||
|
||||
- id: version
|
||||
name: Version
|
||||
run: npm version ${{ github.ref_name }} --no-git-tag-version
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
"build:chromatic": "storybook build -o docs",
|
||||
"build:docs": "storybook build -o docs && touch ./docs/.nojekyll",
|
||||
"build": "npm-run-all build:package build:docs",
|
||||
"prepublishOnly": "npm run build:package",
|
||||
"postversion": "git push origin && git push origin --tags"
|
||||
},
|
||||
"license": "MIT",
|
||||
|
|
|
|||
Loading…
Reference in a new issue