Refactor code to use ES module syntax; various other quality improvem… #54
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: Node.js CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Node.js version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ strategy.node }} | |
- run: node --version | |
- uses: borales/actions-yarn@v4 | |
with: | |
cmd: install | |
#- uses: borales/actions-yarn@v2.0.0 | |
# with: | |
# cmd: build | |
- uses: borales/actions-yarn@v4 | |
with: | |
cmd: lint | |
- uses: borales/actions-yarn@v4 | |
with: | |
cmd: format-check | |
- uses: borales/actions-yarn@v4 | |
with: | |
cmd: test |