lasty last
This commit is contained in:
parent
a78046726e
commit
2a857f5f4a
2 changed files with 8 additions and 6 deletions
13
.github/workflows/canary.yaml
vendored
13
.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,15 +42,17 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
yarn-deps-${{ hashFiles('yarn.lock') }}
|
yarn-deps-${{ hashFiles('yarn.lock') }}
|
||||||
|
|
||||||
|
- id: install-deps
|
||||||
|
name: Install dependencies
|
||||||
|
run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
- id: build-package
|
- id: build-package
|
||||||
name: Build package
|
name: Build package
|
||||||
run: npm run build:package
|
run: npm run build:package
|
||||||
|
|
||||||
- id: release
|
- id: canary-release
|
||||||
name: Create Release
|
name: Create Canary Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
run: |
|
run: npx auto canary
|
||||||
yarn install --frozen-lockfile
|
|
||||||
npx auto canary
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
"url": "git+https://github.com/reuters-graphics/graphics-components.git"
|
"url": "git+https://github.com/reuters-graphics/graphics-components.git"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
"registry": "https://registry.npmjs.org/",
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue