diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 21f9934..84a725c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -86,31 +86,31 @@ jobs: # VARIABLE1: ${{ secrets.VARIABLE1 }} # VARIABLE2: ${{ secrets.VARIABLE2 }} - # publish: - # needs: [nodetests, browsertests] - # runs-on: ubuntu-latest - # steps: - # - name: Git checkout - # uses: actions/checkout@v3 - - # - name: Install Node.js - # uses: actions/setup-node@v3 - # with: - # node-version: "20.x" - # registry-url: "https://registry.npmjs.org" - - # # - name: install - # # run: npm ci + publish: + needs: [nodetests, browsertests] + runs-on: ubuntu-latest + steps: + - name: Git checkout + uses: actions/checkout@v3 + + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: "20.x" + registry-url: "https://registry.npmjs.org" + + - name: install + run: npm ci - # # - name: coverage - # # run: npm run coverage - - # # - name: send report to coveralls.io - # # uses: coverallsapp/github-action@master - # # with: - # # github-token: ${{ secrets.GITHUB_TOKEN }} - - # - name: NPM publish - # run: npm publish --access public - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + - name: coverage + run: npm run coverage + + - name: send report to coveralls.io + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: NPM publish + run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file