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:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
registry-url: https://registry.npmjs.org
|
registry-url: https://registry.npmjs.org
|
||||||
scope: '@reuters-graphics'
|
|
||||||
|
|
||||||
- id: cache
|
- id: cache
|
||||||
name: Cache node modules
|
name: Cache node modules
|
||||||
|
|
@ -43,6 +42,10 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
yarn-deps-${{ hashFiles('yarn.lock') }}
|
yarn-deps-${{ hashFiles('yarn.lock') }}
|
||||||
|
|
||||||
|
- id: build-package
|
||||||
|
name: Build package
|
||||||
|
run: npm run build:package
|
||||||
|
|
||||||
- id: release
|
- id: release
|
||||||
name: Create Release
|
name: Create Release
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
|
@ -45,6 +45,10 @@ jobs:
|
||||||
name: Build docs
|
name: Build docs
|
||||||
run: npm run build:docs
|
run: npm run build:docs
|
||||||
|
|
||||||
|
- id: build-package
|
||||||
|
name: Build package
|
||||||
|
run: npm run build:package
|
||||||
|
|
||||||
- id: version
|
- id: version
|
||||||
name: Version
|
name: Version
|
||||||
run: npm version ${{ github.ref_name }} --no-git-tag-version
|
run: npm version ${{ github.ref_name }} --no-git-tag-version
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
"build:chromatic": "storybook build -o docs",
|
"build:chromatic": "storybook build -o docs",
|
||||||
"build:docs": "storybook build -o docs && touch ./docs/.nojekyll",
|
"build:docs": "storybook build -o docs && touch ./docs/.nojekyll",
|
||||||
"build": "npm-run-all build:package build:docs",
|
"build": "npm-run-all build:package build:docs",
|
||||||
"prepublishOnly": "npm run build:package",
|
|
||||||
"postversion": "git push origin && git push origin --tags"
|
"postversion": "git push origin && git push origin --tags"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue