8000 GitHub Actions: Test on current Node.js (#282) · paulzzy/pyscript@92fce06 · GitHub
[go: up one dir, main page]

Skip to content

Commit 92fce06

Browse files
cclausspww217
andauthored
GitHub Actions: Test on current Node.js (pyscript#282)
* GitHub Actions: Test on current Node.js Node.js 12 is end-of-life. https://nodejs.org/en/about/releases * GitHub Actions: Test on current Node.js * Removed outdated comment Co-authored-by: Peter W <34256109+pww217@users.noreply.github.com>
1 parent 825c63c commit 92fce06

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
name: Build
22

33
on:
4-
push: # Only run on merges into master that modify files under pyscriptjs/
4+
push: # Only run on merges into master that modify files under pyscriptjs/
55
branches: main
66
paths:
77
- pyscriptjs/**
8-
- .github/workflows/** # Test that workflows work when changed
8+
- .github/workflows/** # Test that workflows work when changed
99

10-
pull_request: # Run on any PR that modifies files in pyscriptjs/
10+
pull_request: # Run on any PR that modifies files in pyscriptjs/
1111
paths:
1212
- pyscriptjs/**
1313
- .github/workflows/**
1414

1515
jobs:
1616
build:
17-
runs-on: ubuntu-latest # Will be self hosted soon
17+
runs-on: ubuntu-latest
1818
defaults:
1919
run:
2020
working-directory: ./pyscriptjs
21-
2221
steps:
2322
- name: Checkout
2423
uses: actions/checkout@v3
2524
- name: Install node
2625
uses: actions/setup-node@v3
2726
with:
28-
node-version: 12.x
27+
node-version: 18.x
2928
- name: Cache node modules
3029
uses: actions/cache@v3
3130
env:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: 12.x
22+
node-version: 18.x
2323
- name: Cache node modules
2424
uses: actions/cache@v3
2525
env:

0 commit comments

Comments
 (0)
0