feat: refactor firebase website and functions #271
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: nodejs-ci | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
paths: | |
- "tools-nodejs/**" | |
pull_request: | |
paths: | |
- "tools-nodejs/**" | |
jobs: | |
nodejs-ci: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./tools-nodejs | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "lts/*" | |
registry-url: "https://registry.npmjs.org" | |
# Check if all nodejs projects are ok | |
- run: | | |
cd vighnesh153-astro/website; | |
npm install --save-exact; | |
npm t; | |
npm run build; |