CI #1323
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: CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 13 * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
emacs-version: | |
- '27.1' | |
- '27.2' | |
- '28.1' | |
- '28.2' | |
- '29.1' | |
- '29.2' | |
node-version: | |
- '18' | |
- '20' | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: purcell/setup-emacs@master | |
with: | |
version: ${{ matrix.emacs-version }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Set environement variables | |
run: | | |
echo "$HOME/.cask/bin" >> $GITHUB_PATH | |
- name: Install dependencies | |
run: | | |
curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python | |
cask | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_seconds: 30 | |
max_attempts: 3 | |
retry_wait_seconds: 0 | |
command: | | |
node -v | |
make test |