-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (35 loc) · 1.23 KB
/
ci-package.yml
File metadata and controls
43 lines (35 loc) · 1.23 KB
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
43
name: CI Package
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
main:
runs-on: ubuntu-latest
environment: gofiber/multi-labeler workflow
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version-file: '.nvmrc'
- run: npm install
- run: npm run build
- run: npm run package
# - id: app
# uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
# with:
# app_id: ${{ secrets.WORKFLOW_APP_ID }}
# private_key: ${{ secrets.WORKFLOW_PRIVATE_KEY }}
# - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
# with:
# token: ${{ steps.app.outputs.token }}
# commit-message: 'chore(ci): npm run package'
# title: 'chore(ci): npm run package'
# body: |
# #### What this PR does / why we need it:
# Updated `./dist/**` files with `npm run package`.
# branch: ci-package