Skip to content

build: add maps to js and mjs files #140

build: add maps to js and mjs files

build: add maps to js and mjs files #140

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: "Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Use Node.js 18.x"
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm ci
- run: npm run build:source
- run: npm run test
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && success()
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm run coverage
- if: github.event_name == 'push' && github.ref == 'refs/heads/main' && success()
name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
auto-approve:
needs: test
runs-on: ubuntu-latest
steps:
- uses: hmarr/auto-approve-action@v2.0.0
if: github.event_name == 'pull_request' && (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"