Ubkg cache #145
Workflow file for this run
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 installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | |
name: Node.js CI | |
on: | |
push: | |
branches: [ "main", "dev-integrate" ] | |
pull_request: | |
branches: [ "main", "dev-integrate" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Set process.env.CI to false | |
run: echo "CI=false" >> $GITHUB_ENV | |
- name: Install dependencies | |
run: npm install | |
working-directory: src | |
- name: Build Project | |
run: npm run build | |
working-directory: src |