Skip to content

Add command to cross install the package into ~/.emacs.d/elpa. #158

Add command to cross install the package into ~/.emacs.d/elpa.

Add command to cross install the package into ~/.emacs.d/elpa. #158

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{matrix.emacs_version == 'snapshot'}}
strategy:
matrix:
emacs_version: ['29.1', '29.2', 'snapshot']
steps:
- name: Install Emacs
uses: purcell/setup-emacs@master
with:
version: ${{matrix.emacs_version}}
- name: Install Eask
uses: emacs-eask/setup-eask@master
with:
version: 'snapshot'
- name: Check out the source code
uses: actions/checkout@v4
- name: Run CI
run: make ci
# - name: Install treesit Javascript language
# run: emacs --batch -l jtsx.el --eval "(jtsx-install-treesit-language 'javascript)"
# - name: Install treesit TSX language
# run: emacs --batch -l jtsx.el --eval "(jtsx-install-treesit-language 'tsx)"
# - name: Install treesit Typescript language
# run: emacs --batch -l jtsx.el --eval "(jtsx-install-treesit-language 'typescript)"
# - name: Run package lint check
# run: |
# emacs --batch \
# --eval "(progn \
# (require 'package) \
# (push '(\"melpa\" . \"https://melpa.org/packages/\") package-archives) \
# (package-initialize) \
# (unless package-archive-contents \
# (package-refresh-contents)) \
# (unless (package-installed-p 'package-lint) \
# (package-install 'package-lint)))" \
# --eval "(require 'package-lint)" \
# -f package-lint-batch-and-exit jtsx.el
# - name: Test the project
# run: emacs --batch -l ert -l jtsx.el -l tests/jtsx-tests.el -f ert-run-tests-batch-and-exit