Skip to content

chore(deps): bump actions/setup-node from 3 to 4 #1022

chore(deps): bump actions/setup-node from 3 to 4

chore(deps): bump actions/setup-node from 3 to 4 #1022

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '5 11 * * 1'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/hydrogen # 18
cache: 'npm'
- run: npm clean-install
- run: npm run format-check
test-types:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: lts/hydrogen # 18
cache: 'npm'
- run: npm clean-install
- run: npm run test-types
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- lts/gallium # 16
- lts/hydrogen # 18
- current
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
check-latest: true
- run: npm clean-install
- run: npm run test