add experimental RecycleScroller #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publishing on NPM | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- package.json | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Build package | |
run: | | |
npm install | |
npm run build | |
- name: Publishing on NPM | |
uses: JS-DevTools/npm-publish@v3 | |
with: | |
token: ${{secrets.NPM_TOKEN}} | |
access: public | |
provenance: true |