Create lockfile.yml

This commit is contained in:
zomars
2023-04-11 11:07:55 -07:00
parent 2e5b42ef47
commit 4f6d035d29
+22
View File
@@ -0,0 +1,22 @@
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
token: ${{ secrets.GH_ACCESS_TOKEN }}
- run: ./git-setup.sh website auth api console
- uses: ./.github/actions/yarn-install
- name: Commit new lockfile if updated
run: |
git commit -am "Update yarn.lock"
git push