one last try

This commit is contained in:
Jon McClure 2023-08-01 19:54:49 +01:00
parent b7bf6ffe08
commit dec0b31f2e
3 changed files with 8 additions and 2 deletions

View file

@ -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:

View file

@ -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

View file

@ -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",