Skip to content

Commit

Permalink
Update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed Dec 10, 2019
1 parent 412638c commit 4e2f8d2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/verify.yml → .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Verify
name: Latest

on:
push:
tags:
- '!*'
branches:
- master

jobs:
verify:
name: Verify
Expand All @@ -14,7 +15,14 @@ jobs:
- name: Setup
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 13.2
- name: Cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-cache-
- name: Install
run: npm ci
# - name: Test
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ jobs:
- name: Setup
uses: actions/setup-node@v1
with:
version: 12.x
version: 13.2
- name: Cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-cache-
- name: Verify
run: |
npm ci
Expand Down

0 comments on commit 4e2f8d2

Please sign in to comment.