mirror of
https://gitee.com/actions-mirror/cache.git
synced 2024-11-23 19:30:43 +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
|