mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-28 15:09:15 +01: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
|