diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e79bbf..6161a32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,12 +9,16 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [10.x, 12.x, 14.x, 15.x, 16.x] steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v2-beta + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 with: - node-version: '14' + node-version: ${{ matrix.node-version }} - name: Install npm dependencies run: npm install - name: Lint code