Skip to content

[Snyk] Security upgrade node from lts-slim to 20.12.2-slim #342

[Snyk] Security upgrade node from lts-slim to 20.12.2-slim

[Snyk] Security upgrade node from lts-slim to 20.12.2-slim #342

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [lts/*]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- name: Install Dependencies
run: |
git config --global url."https://github.com/".insteadOf ssh://git@github.com/
yarn install
- name: Lint
uses: reviewdog/action-eslint@v1
with:
reporter: github-check
github_token: ${{ github.token }}
- name: Build
run: yarn run build