refactor: use cookieKeys from api #270
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: | | |
export PIKA_PATH="$(pwd)"; | |
for dir in */; do | |
cd $PIKA_PATH/$dir; | |
echo "Checking - $(pwd)\n"; | |
npm install; | |
npm t; | |
npm run build; | |
done |