Skip to content

Commit b81651d

Browse files
author
lmvysakh
committed
Adding workflow
1 parent 8026329 commit b81651d

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/testcache.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Test Cache Issue
2+
3+
on:
4+
push:
5+
branches:
6+
- setupnode_1233_test1
7+
pull_request:
8+
9+
jobs:
10+
test-cache:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/[email protected]
19+
with:
20+
node-version: '16'
21+
cache: 'npm'
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Cache verification
27+
run: |
28+
npm ls @actions/cache
29+
echo "Cache directory: ${{ runner.temp }}/npm-cache"
30+
31+
- name: Build and test
32+
run: npm test

0 commit comments

Comments
 (0)