Skip to content

[CMD-549] tell GitHub Actions to use node from .tool-versions #105

[CMD-549] tell GitHub Actions to use node from .tool-versions

[CMD-549] tell GitHub Actions to use node from .tool-versions #105

Workflow file for this run

name: Test
on: [push]
jobs:
javascript_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.10
rubygems: 3.3.22
- name: Install sass
run: gem install sass
- uses: actions/setup-node@v4
with:
node-version-file: ".tool-versions"
- name: Install grunt-cli
run: npm install grunt-cli
- name: Install bower
run: npm install -g bower
- name: Install dependencies
run: npm install
- name: Build
run: script/bootstrap
- name: Test
run: npm test