chore(workflow): compile components with latest version set
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
"components:lint": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:lint",
|
||||
"components:test": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:test",
|
||||
"components:compile": "yarn workspaces foreach --parallel --jobs 10 --verbose --exclude @standardnotes/components-meta run components:compile",
|
||||
"package": "node scripts/package.mjs"
|
||||
"package": "node scripts/package.mjs",
|
||||
"version": "./scripts/VERSION.sh"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@standardnotes/deterministic-zip": "^1.2.0",
|
||||
|
||||
10
packages/components/scripts/VERSION.sh
Executable file
10
packages/components/scripts/VERSION.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
|
||||
echo 'Compiling components from' $(pwd)
|
||||
|
||||
yarn components:clean && yarn components:compile
|
||||
|
||||
echo "Packaging component assets and zips..."
|
||||
|
||||
node scripts/package.mjs
|
||||
git add dist
|
||||
(git commit -m 'chore(release): components') || true
|
||||
Reference in New Issue
Block a user