-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 993 Bytes
/
update.yml
File metadata and controls
36 lines (31 loc) · 993 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
32
33
34
35
36
name: Update T71 packages
on:
workflow_dispatch:
registry_package:
types: [published]
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js environment
uses: actions/setup-node@v3
with:
always-auth: true
node-version: 18
cache: "yarn"
- name: Set up token for private package access
env:
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
run: |
echo "@timing71:registry=https://npm.pkg.github.com" > .npmrc
echo "//npm.pkg.github.com/:_authToken=${GH_PACKAGES_TOKEN}" >> .npmrc
echo "always-auth=true" >> .npmrc
- name: Update Timing71 packages
uses: romoh/dependencies-autoupdate@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
update-command: "'yarn upgrade @timing71/common @timing71/services'"
pr-branch: "master"