personal brewfile #1398
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: test | |
on: | |
push: | |
branches: [dev] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "macos-latest"] | |
env: | |
TERM: xterm | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
with: | |
ref: dev | |
- name: Provision dotfiles | |
run: ./bootstrap/symlink | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'package.json' | |
- name: Install node packages via npm | |
run: npm ci | |
- name: Install pipx via Brew | |
if: matrix.os == 'macos-latest' | |
run: brew install pipx && pipx ensurepath | |
- name: Install neovim nightly | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: stable | |
- name: Run tests | |
run: npm test --silent |