Update gitignore according to yarn docs #300
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: [master] | |
jobs: | |
build: | |
services: | |
couchbase: | |
image: couchbase/server-sandbox:7.1.3 | |
ports: | |
- 8091-8094:8091-8094 | |
- 11210:11210 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
node_version: [ '16' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test:coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
- name: Create .env file | |
uses: SpicyPizza/[email protected] | |
with: | |
envKey_ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} | |
envKey_ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | |
directory: docusaurus/ | |
- name: Generate docs | |
run: yarn docs | |
- name: Publish docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |