-
Notifications
You must be signed in to change notification settings - Fork 11
31 lines (30 loc) · 945 Bytes
/
bundle.yml
File metadata and controls
31 lines (30 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Update Bundle
concurrency: Update Bundle
on: workflow_dispatch
jobs:
bundle:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: "22"
package-manager-cache: false
- run: npm install -g npm@latest
- run: npm ci
- run: npx update-browserslist-db@latest
- run: npx nx bundle web-component
- name: Create Pull Request
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
with:
add-paths: |
packages/studio-web/package.json
packages/studio-web/src/assets/bundle.js
packages/studio-web/src/assets/fonts.b64.css
branch: "bundle-update"
commit-message: "chore: update bundle"