-
-
Notifications
You must be signed in to change notification settings - Fork 25
32 lines (30 loc) · 919 Bytes
/
build.yml
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
32
name: Action CI
on:
push:
branches:
- master
jobs:
build:
name: Build and Update Mappings
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Build
run: pnpm run build
- name: Update Mappings
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: '[skip ci] Update mappings'
file_pattern: 'dist/*.js dist/*.js.map dist/*.cjs'
commit_user_name: r2-action-bot[bot]
commit_user_email: 118486773+r2-action-bot[bot]@users.noreply.github.com
commit_author: r2-action-bot[bot] <118486773+r2-action-bot[bot]@users.noreply.github.com>