[CMS_549] This should cache the node_modules directory #106
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] | |
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" | |
cache: "npm" | |
- 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 |