Skip to content

Commit 3df3327

Browse files
committed
Release 15.3.1
1 parent d6f3b6c commit 3df3327

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

.github/workflows/publish-release.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Publish Release
22

3-
on: push
3+
on:
4+
push
45

56
jobs:
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

0 commit comments

Comments
 (0)