This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
chore(deps): bump express from 4.17.3 to 4.20.0 #5640
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: Build and Test | |
on: [push] | |
jobs: | |
build_and_test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache node modules | |
uses: actions/cache@v3 | |
env: | |
cache-name: cached-node-modules | |
with: | |
path: ~/work/0x-api/0x-api/node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('yarn.lock') }} | |
- run: yarn install --frozen-lockfile | |
- run: yarn build | |
# Pull the docker images so that they don't need to be pulled in the tests. | |
- run: docker-compose pull | |
- run: yarn lint | |
- run: yarn test | |
- run: yarn circular | |
- name: Save build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: __build__ | |
path: __build__ |