mirror of
https://gitea.com/actions/cache.git
synced 2024-11-14 08:22:31 +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
|