From 2270b386de660953824d2a2612528470eae7cd83 Mon Sep 17 00:00:00 2001 From: Andre Richter Date: Fri, 25 Sep 2020 21:35:40 +0200 Subject: [PATCH] Add nodejs to workflow --- .github/workflows/sanity.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index abfd022c..a5f585e1 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -15,21 +15,28 @@ jobs: steps: - uses: actions/checkout@v1 + - name: Set up Node + uses: actions/setup-node@v1 + with: + node-version: "12" - name: Set up Ruby 2.x uses: actions/setup-ruby@v1 with: ruby-version: 2.x + - name: Set up Bundler + run: | + gem install bundler + bundle config set without 'uart' + bundle install --retry 3 + - name: Set up Prettier + run: | + npm install prettier - name: Set up Rust nightly run: | rustup self update rustup toolchain install nightly --component rustfmt clippy rustup default nightly rustup target add aarch64-unknown-none-softfloat - - name: Set up Ruby - run: | - gem install bundler - bundle config set without 'uart' - bundle install --retry 3 - name: Setup misspell run: | curl -L -o ./install-misspell.sh https://git.io/misspell