Skip to content

Commit

Permalink
update github action config
Browse files Browse the repository at this point in the history
  • Loading branch information
farskipper committed Nov 12, 2023
1 parent 377817e commit b98af76
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
name: Test

on: push

on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
node-version:
node:
- lts/*
- latest
- current
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v2
- uses: actions/checkout@v3
- name: Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

node-version: ${{ matrix.node }}
- run: npm run setup
- run: npm test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# pico-engine

[![Node version](https://img.shields.io/node/v/pico-engine.svg)](https://nodejs.org/en/download/)
[![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)

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

Expand Down
2 changes: 1 addition & 1 deletion packages/pico-engine-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=8.0.0"
"node": ">=20.0.0"
},
"scripts": {
"prepublish": "npm run build",
Expand Down
2 changes: 1 addition & 1 deletion packages/pico-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"pico-engine": "bin/pico-engine"
},
"engines": {
"node": ">=8.0.0"
"node": ">=20.0.0"
},
"scripts": {
"prepublish": "npm run build",
Expand Down

0 comments on commit b98af76

Please sign in to comment.