GC Home Page: Reduced Doormats and added all services button #2710
Workflow file for this run
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: Continous integration | |
on: | |
pull_request: | |
jobs: | |
integration-check: | |
runs-on: ubuntu-latest | |
environment: github-ci | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v2 | |
# - name: Cache node modules | |
# uses: actions/cache@v2 | |
# if: ${{ !env.ACT }} | |
# env: | |
# cache-name: cache-node-modules | |
# with: | |
# # npm cache files are stored in '~/.npm' on Linux/macOS | |
# path: ~/.npm | |
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
# restore-keys: | | |
# ${{ runner.os }}-build-${{ env.cache-name }}- | |
# ${{ runner.os }}-build- | |
# ${{ runner.os }}- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
npm i -g bower grunt-cli | |
npm ci | |
- name: Copy the missing _sprite_share.scss file - related to GCWeb#1737 about wet-boew#cc340a6 commit | |
run: | | |
curl https://gist.githubusercontent.com/duboisp/d69787b300eb1f4d40f937508e10d013/raw/86e7a0b15ad6a695754599e9793e986b460bf514/_sprites_share.scss >> _sprites_share.scss | |
mv _sprites_share.scss node_modules/wet-boew/src/plugins/share/sprites/_sprites_share.scss | |
- name: Checkout wet-boew latest build | |
if: ${{ env.ACT }} | |
run: | | |
git clone --depth 1 https://github.com/wet-boew/wet-boew-cdn.git --branch v4.0-dist ~wet-boew-cdn | |
mkdir -p node_modules/wet-boew/dist/wet-boew | |
mv ~wet-boew-cdn/* node_modules/wet-boew/dist/wet-boew | |
- name: Build GCWeb | |
if: ${{ !env.ACT }} | |
run: grunt dist | |
- name: Build GCWeb (without pre-test) | |
if: ${{ env.ACT }} | |
run: grunt dist-act |