FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
unfetch/.github/workflows/ci.yml at main · developit/unfetch · GitHub
developit
unfetch
Repository navigation
Code
Issues
20
(20)
Pull requests
10
(10)
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
unfetch
/
.github
/
workflows
/
ci.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
37 lines (35 loc) · 897 Bytes
Breadcrumbs
unfetch
/
.github
/
workflows
/
ci.yml
Copy path
File metadata and controls
37 lines (35 loc) · 897 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name
:
CI
on
:
workflow_dispatch
:
pull_request
:
branches
:
-
"
**
"
push
:
branches
:
-
main
jobs
:
build_test
:
name
:
Build & Test
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/setup-node@v3
with
:
node-version
:
18
-
name
:
Cache node modules
uses
:
actions/cache@v3
env
:
cache-name
:
cache-node-modules
with
:
path
:
~/.npm
#
This uses the same name as the build-action so we can share the caches.
key
:
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys
:
|
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
-
run
:
npm ci
-
name
:
test
run
:
|
npm run build
npm run test
Back
|
FazBrowse Home
|
New Git URL