Skip to content

Merge pull request #16 from ks-labs/refact-different-objects #37

Merge pull request #16 from ks-labs/refact-different-objects

Merge pull request #16 from ks-labs/refact-different-objects #37

Workflow file for this run

# 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: Run All Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: 'Test Provider Integration'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 14
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- run: npm install --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
# rebuild will run the scripts skipped
- run: npm rebuild && npm run prepare --if-present
- run: npm test