@cocreate/scrollbar 0.0.0-stage → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: CoCreate-app
@@ -0,0 +1,58 @@
1
+ name: Automated Workflow
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+
8
+ jobs:
9
+ about:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v7
14
+
15
+ - name: Sync package.json description to GitHub About
16
+ env:
17
+ GITHUB_TOKEN: ${{ secrets.GITHUB }}
18
+ run: |
19
+ DESC=$(jq -r '.description // empty' package.json)
20
+ if [ -n "$DESC" ]; then
21
+ echo "Updating repository description to: $DESC"
22
+ gh api -X PATCH repos/${{ github.repository }} -f description="$DESC"
23
+ else
24
+ echo "No description found in package.json."
25
+ fi
26
+
27
+ release:
28
+ runs-on: ubuntu-latest
29
+ steps:
30
+ - name: Checkout repository
31
+ uses: actions/checkout@v7
32
+ with:
33
+ fetch-depth: 0
34
+ token: ${{ secrets.GITHUB }} # Authenticates git CLI for tag/commit pushes
35
+
36
+ - name: Setup Node.js
37
+ uses: actions/setup-node@v7
38
+ with:
39
+ node-version: '24'
40
+
41
+ - name: Install Semantic Release & Plugins
42
+ run: |
43
+ npm install -g semantic-release \
44
+ @semantic-release/changelog \
45
+ @semantic-release/npm \
46
+ @semantic-release/github \
47
+ @semantic-release/git
48
+
49
+ - name: Run Semantic Release
50
+ id: semantic
51
+ run: npx semantic-release
52
+ env:
53
+ GITHUB_TOKEN: "${{ secrets.GITHUB }}"
54
+ NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
55
+
56
+ outputs:
57
+ new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
58
+ new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
@@ -0,0 +1,43 @@
1
+ name: Manual Workflow
2
+ on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ invalidations:
6
+ description: |
7
+ If set to 'true', invalidates previous upload.
8
+ default: "true"
9
+ required: true
10
+
11
+ jobs:
12
+ cdn:
13
+ runs-on: ubuntu-latest
14
+ env:
15
+ DRY_RUN: ${{ github.event.inputs.dry_run }}
16
+ GITHUB_TOKEN: "${{ secrets.GITHUB }}"
17
+
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v3
21
+ - name: setup nodejs
22
+ uses: actions/setup-node@v3
23
+ with:
24
+ node-version: 16
25
+ - name: yarn install
26
+ run: >
27
+ echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >
28
+ .npmrc
29
+
30
+ yarn install
31
+ - name: yarn build
32
+ run: yarn build
33
+ - name: upload latest bundle
34
+ uses: CoCreate-app/CoCreate-s3@master
35
+ with:
36
+ aws-key-id: "${{ secrets.AWSACCESSKEYID }}"
37
+ aws-access-key: "${{ secrets.AWSSECERTACCESSKEY }}"
38
+ distributionId: "${{ secrets.DISTRIBUTION_ID }}"
39
+ bucket: testcrudbucket
40
+ source: ./dist
41
+ destination: /overlay-scroll/latest
42
+ acl: public-read
43
+ invalidations: ${{ github.event.inputs.invalidations }}