Skip to content

Commit b98af76

Browse files
committed
update github action config
1 parent 377817e commit b98af76

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
name: Test
2-
3-
on: push
4-
2+
on: [push, pull_request]
53
jobs:
64
build:
75
runs-on: ${{ matrix.os }}
86
strategy:
97
fail-fast: true
108
matrix:
11-
node-version:
9+
node:
1210
- lts/*
13-
- latest
11+
- current
1412
os: [ubuntu-latest, macOS-latest, windows-latest]
1513

1614
steps:
17-
- uses: actions/checkout@v2
18-
- name: Node ${{ matrix.node-version }}
19-
uses: actions/setup-node@v2
15+
- uses: actions/checkout@v3
16+
- name: Node ${{ matrix.node }}
17+
uses: actions/setup-node@v3
2018
with:
21-
node-version: ${{ matrix.node-version }}
22-
19+
node-version: ${{ matrix.node }}
2320
- run: npm run setup
2421
- run: npm test

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# pico-engine
22

33
[![Node version](https://img.shields.io/node/v/pico-engine.svg)](https://nodejs.org/en/download/)
4+
[![Build Status](https://github.com/Picolab/pico-engine/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/Picolab/pico-engine/actions/workflows/test.yml)
45

56
An implementation of the [pico-engine](http://www.windley.com/archives/2016/03/rebuilding_krl.shtml) hosted on node.js
67

packages/pico-engine-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"main": "dist/index.js",
2626
"types": "dist/index.d.ts",
2727
"engines": {
28-
"node": ">=8.0.0"
28+
"node": ">=20.0.0"
2929
},
3030
"scripts": {
3131
"prepublish": "npm run build",

packages/pico-engine/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"pico-engine": "bin/pico-engine"
3131
},
3232
"engines": {
33-
"node": ">=8.0.0"
33+
"node": ">=20.0.0"
3434
},
3535
"scripts": {
3636
"prepublish": "npm run build",

0 commit comments

Comments
 (0)