Skip to content

chore: target Node.js 20 #367

chore: target Node.js 20

chore: target Node.js 20 #367

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-20.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Build the test Docker image
run: docker build --no-cache --target test-env --tag wait-for-test .
- name: Run the tests
run: docker run wait-for-test
release:
name: Release
runs-on: ubuntu-20.04
timeout-minutes: 20
# Prevents running multiple release scripts at the same time
concurrency: 'release'
needs:
- test
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release