Skip to content

Commit

Permalink
Merge pull request #1693 from tactilenews/ci/use-asdf-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwr18 authored Sep 12, 2023
2 parents 92f5039 + 84585fc commit 518505a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,19 @@ jobs:
- name: Update file watchers because of rails settings cached
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

- name: Read .tool-versions
uses: marocchino/tool-versions-action@v1
id: versions

- name: Use Node.js ${{ steps.versions.outputs.nodejs}}
uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodejs}}

- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0
ruby-version: ${{ steps.versions.outputs.ruby}}
bundler-cache: true

- name: Cache NPM dependencies
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ruby 3.0.0
nodejs lts-erbium
nodejs 12.22.12
postgres 12.2

0 comments on commit 518505a

Please sign in to comment.