Skip to content

Commit

Permalink
Merge pull request #161 from ryanblock/master
Browse files Browse the repository at this point in the history
Misc maintenance
  • Loading branch information
mhart authored Feb 12, 2024
2 parents 317c243 + b0a0877 commit 3f06faf
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 6 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Node CI

on: [ push, pull_request ]

defaults:
run:
shell: bash

jobs:

test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [ 14.x, 16.x, 18.x, 20.x ]
os: [ windows-latest, ubuntu-latest, macOS-latest ]

steps:
- name: Check out repo
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Env
run: |
echo "Event name: ${{ github.event_name }}"
echo "Git ref: ${{ github.ref }}"
echo "GH actor: ${{ github.actor }}"
echo "SHA: ${{ github.sha }}"
VER=`node --version`; echo "Node ver: $VER"
VER=`npm --version`; echo "npm ver: $VER"
- name: Install
run: npm install

- name: Test
run: npm test
env:
CI: true
4 changes: 0 additions & 4 deletions .npmignore

This file was deleted.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
"license": "MIT",
"repository": "github:mhart/aws4",
"main": "aws4.js",
"files": [
"aws4.js",
"lru.js"
],
"scripts": {
"test": "mocha ./test/fast.js -R list",
"integration": "node ./test/slow.js"
},
"devDependencies": {
"mocha": "^2.5.3",
"should": "^8.4.0"
"mocha": "^10.2.0",
"should": "^13.2.3"
}
}

0 comments on commit 3f06faf

Please sign in to comment.