Skip to content

Bump word-wrap from 1.2.3 to 1.2.4 in /angular-apollo-tailwind #264

Bump word-wrap from 1.2.3 to 1.2.4 in /angular-apollo-tailwind

Bump word-wrap from 1.2.3 to 1.2.4 in /angular-apollo-tailwind #264

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Angular Apollo Tailwind CI
on:
push:
branches: [main]
paths:
- 'angular-apollo-tailwind/**'
pull_request:
branches: [main]
paths:
- 'angular-apollo-tailwind/**'
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: angular-apollo-tailwind/yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: angular-apollo-tailwind
- name: Lint files
run: yarn lint
working-directory: angular-apollo-tailwind
format-check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: angular-apollo-tailwind/yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: angular-apollo-tailwind
- name: Check formatting
run: yarn format:check
working-directory: angular-apollo-tailwind
build:
runs-on: ubuntu-latest
needs: [lint, format-check]
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: angular-apollo-tailwind/yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: angular-apollo-tailwind
- name: GraphQL codegen
run: yarn generate
working-directory: angular-apollo-tailwind
- name: Build Project
run: yarn build
working-directory: angular-apollo-tailwind