Skip to content

#96 Improve takeSnapshot #159

#96 Improve takeSnapshot

#96 Improve takeSnapshot #159

Workflow file for this run

name: worker-nodes CI
on:
push:
branches: [main]
tags-ignore:
- 'v*'
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }}
needs: build
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}