Fix cypress login test, to work with cross-signing (locally) #1164
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
#Build the application | |
name: Build | |
on: | |
pull_request: {} | |
push: | |
branches: [master] | |
# develop pushes and repository_dispatch handled in build_develop.yaml | |
env: | |
# These must be set for fetchdep.sh to get the right branch | |
REPOSITORY: ${{ github.repository }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
jobs: | |
build: | |
name: "Build" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get Node Version | |
id: node_version | |
run: echo ::set-output name=node_version::$(node -e 'console.log(require("./package.json").engines.node)') | |
- uses: actions/setup-node@v3 | |
with: | |
cache: "yarn" | |
node-version: ${{ steps.node_version.outputs.node_version }} | |
- name: Install Dependencies | |
run: "yarn install" | |
- name: Build | |
run: "yarn build" |