Skip to content

upgrade: update dependencies, use Node 20 and transform package into ESM #799

upgrade: update dependencies, use Node 20 and transform package into ESM

upgrade: update dependencies, use Node 20 and transform package into ESM #799

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version: [ '20', '23', 'latest' ]
name: Node ${{ matrix.node_version }}
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- run: |
npm ci
- run: |
npm run format-check
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
file: examples/gitlab.yml
command: preview