diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..e5ae2d1 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,23 @@ +name: Test + +on: + workflow_dispatch + +jobs: + build: + + # Machine environment: + # https://help.github.com/en/articles/software-in-virtual-environments-for-github-actions#ubuntu-1804-lts + # We specify the Node.js version manually below, and use versioned Chrome from Puppeteer. + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js 20.13.1 + uses: actions/setup-node@v1 + with: + node-version: 20.13.1 + - name: Install dependencies + run: npm install + - name: Test + run: ng test ngx-colors