Skip to content

Commit

Permalink
add weekly update action
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-stillman committed Sep 29, 2024
1 parent 215c7b9 commit 5c0ec3f
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/weeklyUpdate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: weeklyUpdate
on:
push:
branches: js/update-action
schedule:
- cron: '0 9 * * 1'
workflow_dispatch:

jobs:
# e2e:
# runs-on: ubuntu-latest
# steps:
# - name: Check out code
# uses: actions/checkout@v2
# - name: Build docker image
# run: docker build -f "e2e.Dockerfile" -t lintier-e2e:latest "."
# - name: Run e2e tests
# run: docker run --rm -i lintier-e2e:latest
update:
runs-on: ubuntu-latest
# needs: e2e
steps:
- uses: actions/checkout@v2
- name: Cache Node Modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
- name: Install Node Modules
run: npm ci
- name: Update Pinned Versions
run: npm run update-pinned-versions
create-pr:
runs-on: ubuntu-latest
needs: [update]
steps:
- name: create-pr
uses: peter-evans/create-pull-request@v7
with:
commit-message: update pinned versions
title: Update Pinned Versions
branch: update-pinned-versions

0 comments on commit 5c0ec3f

Please sign in to comment.