Skip to content

Bump dependencies

Bump dependencies #60

name: Pull request validation
on:
pull_request:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm clean-install
- run: npm run prepublishOnly
- run: npm pack
- name: Upload tarball artifact
uses: actions/[email protected]
with:
name: bundle
path: ./dist
- name: Upload tarball artifact
uses: actions/[email protected]
with:
name: tarball
path: ./*.tgz
- run: npm test