Bump semver from 5.7.1 to 5.7.2 in /angular-apollo-tailwind #263
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
# 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 |