-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (46 loc) · 1.13 KB
/
update.yml
File metadata and controls
57 lines (46 loc) · 1.13 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: update
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
schedule:
- cron: '0 22 * * *'
jobs:
cache-and-install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: latest
run_install: false
- name: Install dependencies
run: pnpm install
- name: Update dependencies
run: pnpm update
- name: Audit
run: pnpm audit --fix
- name: Update lockfile
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "fix: dependecy updates"