diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa96cc3f5..907ef3d9e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,8 +23,22 @@ jobs: - name: Set Ruby version uses: actions/setup-ruby@v1 with: - ruby-version: '2.x' + ruby-version: '2.4.x' + - name: Set up Bundler + run: gem install bundler -v "~> 1.17" + + - run: ruby --version + - run: gem --version + - run: bundle --version - run: node --version - run: npm --version - - run: ruby -version + + - name: Install npm dependencies + run: npm install + + - name: Install bundler dependencies + run: bundle install --deployment --jobs=3 --retry=3 --clean + + - name: Run bundlesize + run: npm run bundlesize