forked from ryand56/r2-upload-action
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.11 KB
/
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
33
34
35
36
37
38
39
40
41
42
name: Action CI
on:
push:
branches:
- master
jobs:
build:
name: Build and Update Mappings
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- name: Import Secrets
uses: Infisical/[email protected]
with:
method: "oidc"
env-slug: "dev"
project-slug: "github-g0zh"
identity-id: "1ffe6b17-29ef-47ed-a54c-0912bbe40542"
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{env.NGLBOT}}
- 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: nglbot
commit_user_email: [email protected]
commit_author: nglbot <[email protected]>