Skip to content

chore(deps): bump actions/setup-node from 3 to 4 #59

chore(deps): bump actions/setup-node from 3 to 4

chore(deps): bump actions/setup-node from 3 to 4 #59

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Test
on:
push:
branches:
- 'master'
tags:
- 'v*'
pull_request:
branches:
- 'master'
defaults:
run:
working-directory: website
jobs:
build-n-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: [3.0.0]
node-version: [16]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby-version }}
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
uses: ruby/setup-ruby@v1
# uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Set up cache key for gems
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-use-ruby-${{ hashFiles('**/Gemfile.lock') }}
- name: Install Ruby dependencies
run: |
bundle config path vendor/bundle
bundle update
bundle install --jobs 4 --retry 3
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Get Yarn cache dir
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Set up cache key for node_modules
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install Node.js dependencies
run: yarn --frozen-lockfile
- name: Build AMSF
run: grunt build