diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 13af6a3..1bb62f2 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -2,9 +2,9 @@ name: Node.js CI on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: build: @@ -14,13 +14,13 @@ jobs: matrix: # windows uses exiftool-vendored.exe: os: [ubuntu-latest, macos-latest] - node-version: [14.x, 16.x, 18.x] + node-version: [18.x, 20.x, 21.x] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: yarn install - - run: yarn test + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: yarn install + - run: yarn test