Skip to content

Commit

Permalink
Create updates.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
colbyfayock authored Mar 25, 2021
1 parent 49bf4b3 commit cba4835
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Updates

on:
schedule:
- cron: "0 12 * * *"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- run: npm install

- run: npm install -g npm-check-updates

- name: Check for Updates
run: ncu -u

- name: Install Updates
run: npm install

- run: npx eyes-storybook
env:
APPLITOOLS_API_KEY: ${{ secrets.APPLITOOLS_API_KEY }}

- uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH_NAME: 'master'

0 comments on commit cba4835

Please sign in to comment.