File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 11name : Publish Release
22
3- on : push
3+ on :
4+ push
45
56jobs :
67 build :
@@ -32,16 +33,30 @@ jobs:
3233 - name : Build library and website
3334 run : npm run build
3435
36+ - name : Test library
37+ run : npm run test
38+
39+ - name : Test library accessibility
40+ run : npm run test:accessibility
41+
42+ - name : Publish RELEASE to npm
43+ run : |
44+ sed -i "s#\"version\": \".*\"#\"version\": \"15.3.1\"#" ./packages/lib/package.json
45+ cd packages/lib
46+ npm publish --access public
47+ env :
48+ NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
49+
3550 - name : Install scripts dependencies
3651 run : cd scripts && npm install
3752
3853 - name : Move RELEASE website to S3
39- run : node scripts/release-website.js 15.3.0
54+ run : node scripts/release-website.js 15.3.1
4055
4156 - name : Execute script version
42- run : node scripts/create-version.js 15.3.0
57+ run : node scripts/create-version.js 15.3.1
4358
4459 - name : Deploy version to S3 Bucket
4560 run : |
4661 aws s3 rm s3://design.system.components.catalog/guidelines/version --recursive
47- aws s3 cp ./catalog/version/ s3://design.system.components.catalog/guidelines/version --recursive
62+ aws s3 cp ./catalog/version/ s3://design.system.components.catalog/guidelines/version --recursive
You can’t perform that action at this time.
0 commit comments