Skip to content

chore: renamed setCurrentPageNumber to goToPage #31

chore: renamed setCurrentPageNumber to goToPage

chore: renamed setCurrentPageNumber to goToPage #31

Workflow file for this run

name: build
on:
push:
branches: [ main ]
tags: [ v* ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install
run: npm ci
- uses: actions/setup-node@v1
with:
node-version: '18.x'
registry-url: https://registry.npmjs.org/
- name: build package
run: npm run build
- name: test package
run: npm test
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
files: |
package/tests/.artifacts/results.xml
# publish to npm
- name: publish to npm
run: npm publish --access public --@sparser:registry=https://registry.npmjs.org/
working-directory: ./package
if: startsWith(github.ref, 'refs/tags/v')
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# TODO: Changelog generation, version tagging