This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
Bump sass from 1.62.1 to 1.67.0 #398
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: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
packages: | |
name: Packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: setup npm | |
run: npm i -g npm@7 | |
- name: npm ci | |
run: npm ci | |
genApi: | |
name: Generate APIs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: setup npm | |
run: npm i -g npm@7 | |
- run: npm ci | |
- run: npm run gen-api | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
needs: [packages, genApi] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: setup npm | |
run: npm i -g npm@7 | |
- name: npm ci | |
run: npm ci | |
- uses: actions/download-artifact@v1 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
- name: build | |
run: npm run build | |
env: | |
NODE_ENV: production | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
needs: [packages, genApi] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: setup npm | |
run: npm i -g npm@7 | |
- name: npm ci | |
run: npm ci | |
- uses: actions/download-artifact@v1 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
- name: lint | |
run: npm run lint | |
typeCheck: | |
name: Type Check | |
runs-on: ubuntu-latest | |
needs: [packages, genApi] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: setup npm | |
run: npm i -g npm@7 | |
- name: npm ci | |
run: npm ci | |
- uses: actions/download-artifact@v1 | |
with: | |
name: apis | |
path: ./src/lib/apis/generated | |
- name: type check | |
run: npm run type-check |