Merge pull request #351 from ardriveapp/PE-6232-improve-gql-queries #1613
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: Node.js CI | |
on: [ push ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Read .nvmrc | |
id: node_version | |
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) | |
- name: Set Up node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ steps.node_version.outputs.NODE_VERSION }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn --immutable --immutable-cache | |
- name: Test and Build Codebase | |
run: yarn ci | |