Skip to content

Updated GitHub workflow Node version to LTS #68

Updated GitHub workflow Node version to LTS

Updated GitHub workflow Node version to LTS #68

Workflow file for this run

# Name is optional and if present must be used
# in the url path for badges
name: Build
# Run on a dev branch
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
jobs:
Build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.17.0]
steps:
- name: Checkout Repository
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install Fresh Dependencies
run: npm ci
- name: Build library
run: npm run build
- name: Log build output
run: ls -alt dist/