Merge pull request #8 from HubSpotWebTeam/feature/disable-prefer-defa… #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Merge to Main | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [ 18, 20 ] | |
name: Node ${{ matrix.node }} sample | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run unit tests | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: npm install | |
- run: npm run lint |