feat(io): use paginated gateways API #7
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
# build extension and publish on merges to main | |
name: Build and Publish | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn --immutable --immutable-cache | |
- name: Build | |
run: yarn build | |
- name: Zip | |
run: zip -r dist.zip dist | |
- name: Publish | |
if: github.ref == 'refs/heads/main' | |
uses: Klemensas/chrome-extension-upload-action | |
with: | |
refresh-token: ${{ secrets.REFRESH_TOKEN }} | |
client-id: ${{ secrets.CLIENT_ID }} | |
client-secret: ${{ secrets.CLIENT_SECRET }} | |
file-name: './dist.zip' | |
app-id: ${{ secrets.APP_ID }} | |
publish: true | |