mirror of
https://github.com/actions/cache.git
synced 2025-04-19 02:26:45 +00:00
Update workflow (#1)
* Run workflow on linux, mac, and windows * Add status badge * Use npm install instead * Bump typescript version * Use node 12.x
This commit is contained in:
parent
b2cac08cff
commit
889c603691
4 changed files with 18 additions and 7 deletions
13
.github/workflows/workflow.yml
vendored
13
.github/workflows/workflow.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Test Cache Action
|
||||
name: Tests
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
@ -7,9 +7,18 @@ on:
|
|||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Test on ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
|
||||
- run: npm ci
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue