Skip to content

Add node 20 "iron" + Bump GitHub Actions Versions (#6) #22

Add node 20 "iron" + Bump GitHub Actions Versions (#6)

Add node 20 "iron" + Bump GitHub Actions Versions (#6) #22

Workflow file for this run

name: is.js CICD
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16, 18, 20]
name: is.js - nodeJS v${{ matrix.node-version }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup node v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Init - node v${{ matrix.node-version }}
run: yarn --frozen-lockfile
- name: Lint - node v${{ matrix.node-version }}
run: yarn lint
- name: Test - node v${{ matrix.node-version }}
run: yarn test
- name: Package - node v${{ matrix.node-version }}
run: npm pack
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: kj4ezj-is-${{ matrix.node-version }}
path: kj4ezj-is-*.tgz