mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-27 21:15:54 +00: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
|