diff options
| author | Uri Shaked | 2025-02-11 10:22:08 +0200 |
|---|---|---|
| committer | Uri Shaked | 2025-02-11 10:22:08 +0200 |
| commit | b8df2322aeee996ca0b93fc40e69572f182f9971 (patch) | |
| tree | f1a7b5b8c3e4adccb1ba87dc5a31b3cf6a802236 /.github | |
| parent | ci: remove travis (diff) | |
| download | avr8js-b8df2322aeee996ca0b93fc40e69572f182f9971.tar.gz avr8js-b8df2322aeee996ca0b93fc40e69572f182f9971.tar.bz2 avr8js-b8df2322aeee996ca0b93fc40e69572f182f9971.zip | |
ci: update Node.js versions
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/ci.yml | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36e35b9..c35c66a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,25 +1,29 @@ name: ci -on: [push] +on: + - push + - pull_request jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: matrix: - node: [ '18', '16', '14' ] + node: ['22', '20', '18'] name: Node ${{ matrix.node }} CI steps: - - uses: actions/checkout@v1 - - name: Setup node - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} - - name: npm install, build, lint, and test - run: | - npm ci - npm run build - npm run lint - npm test - env: - CI: true + - uses: actions/checkout@v4 + + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + + - name: npm install, build, lint, and test + run: | + npm ci + npm run build + npm run lint + npm test + env: + CI: true |
