aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorUri Shaked2025-02-11 10:22:08 +0200
committerUri Shaked2025-02-11 10:22:08 +0200
commitb8df2322aeee996ca0b93fc40e69572f182f9971 (patch)
treef1a7b5b8c3e4adccb1ba87dc5a31b3cf6a802236 /.github/workflows
parentci: remove travis (diff)
downloadavr8js-b8df2322aeee996ca0b93fc40e69572f182f9971.tar.gz
avr8js-b8df2322aeee996ca0b93fc40e69572f182f9971.tar.bz2
avr8js-b8df2322aeee996ca0b93fc40e69572f182f9971.zip
ci: update Node.js versions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml36
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
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.