Skip to content

Commit

Permalink
add io.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed Feb 2, 2025
1 parent fd16b71 commit 9ad5ad0
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@ jobs:
- name: Node.js 0.10
node-version: "0.10"
npm-i: [email protected] [email protected] [email protected]
npm-version: "[email protected]"

- name: Node.js 0.12
node-version: "0.12"
npm-i: [email protected] [email protected] [email protected]
npm-version: "[email protected]"

- name: Node.js 4.x
node-version: "4.9"
Expand All @@ -84,6 +86,7 @@ jobs:
- name: Node.js 5.x
node-version: "5.12"
npm-i: [email protected] [email protected] [email protected]
npm-version: [email protected]

- name: Node.js 6.x
node-version: "6.17"
Expand Down
67 changes: 67 additions & 0 deletions .github/workflows/iojs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: iojs-ci

on:
push:
branches:
- master
paths-ignore:
- '*.md'
pull_request:
paths-ignore:
- '*.md'

concurrency:
group: "${{ github.workflow }} ✨ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ["1.8", "2.5", "3.3"]
include:
- node-version: "1.8"
npm-i: "[email protected] [email protected] [email protected]"
- node-version: "2.5"
npm-i: "[email protected] [email protected] [email protected]"
- node-version: "3.3"
npm-i: "[email protected] [email protected] [email protected]"

steps:
- uses: actions/checkout@v4

- name: Install iojs ${{ matrix.node-version }}
shell: bash -eo pipefail -l {0}
run: |
nvm install --default ${{ matrix.node-version }}
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
- name: Configure npm
run: |
npm config set loglevel error
npm config set shrinkwrap false
- name: Install npm module(s) ${{ matrix.npm-i }}
run: npm install --save-dev ${{ matrix.npm-i }}
if: matrix.npm-i != ''

- name: Remove non-test dependencies
run: npm rm --silent --save-dev connect-redis

- name: Install Node.js dependencies
run: npm install

- name: List environment
id: list_env
shell: bash
run: |
echo "node@$(node -v)"
echo "npm@$(npm -v)"
npm -s ls ||:
(npm -s ls --depth=0 ||:) | awk -F'[ @]' 'NR>1 && $2 { print $2 "=" $3 }' >> "$GITHUB_OUTPUT"
- name: Run tests
shell: bash
run: npm run test

0 comments on commit 9ad5ad0

Please sign in to comment.