Skip to content

Commit fa81953

Browse files
AA
authored andcommitted
try ubuntu latest
1 parent eb51e91 commit fa81953

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
1-
name: Github pages JunieRR
1+
name: Github pages
22
on:
33
push:
44
branches:
55
- main
66

77
jobs:
88
deploy:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
1212

1313
- name: Setup Node
1414
uses: actions/setup-node@v2-beta
1515
with:
1616
node-version: '12'
17+
- name: Cache Node.js modules
18+
uses: actions/cache@v3
19+
with:
20+
path: ~/.npm
21+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
22+
restore-keys: |
23+
${{ runner.os }}-node-
1724
- run: npm install
1825
- run: npm run build
1926
env:

0 commit comments

Comments
 (0)