mirror of
https://github.com/actions/cache.git
synced 2024-11-26 16:36:14 +08:00
21 lines
302 B
YAML
21 lines
302 B
YAML
|
name: Test Cache Action
|
||
|
on:
|
||
|
pull_request:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v1
|
||
|
|
||
|
- run: npm ci
|
||
|
|
||
|
- name: Prettier Format Check
|
||
|
run: npm run format-check
|
||
|
|
||
|
- name: Build & Test
|
||
|
run: npm run test
|