Skip to content

ci: update workflow dependencies #227

ci: update workflow dependencies

ci: update workflow dependencies #227

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
jobs:
build:
runs-on: macOS-latest
strategy:
matrix:
node-version: [12.13.0, 14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@692973e # v4.1.7
- uses: actions/setup-node@60edb5d # v4.0.2
with:
node-version: ${{ matrix.node-version }}
architecture: 'x64'
cache: yarn
- name: Install
run: yarn --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn coverage
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@ab904c4 #v3.1.6
with:
file: ./coverage/lcov.info
env_vars: NODE_VERSION
env:
NODE_VERSION: ${{ matrix.node-version }}
automerge:
needs: build
runs-on: ubuntu-latest
steps:
- uses: fastify/github-action-merge-dependabot@v2.7.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}