diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index afc13ab..2d69964 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -32,8 +32,6 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build - - run: npm run format:check - - run: npm run lint - run: npm run package - uses: ./ with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..96101da --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Run tests + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'npm' + - run: npm ci + - run: npm run build + - run: npm run format:check + - run: npm run lint + - run: npm run package + # FIXME Token doesn't get passed correctly + # - run: npm run test