chore: release 2.1.10 #17
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
on: | |
push: | |
branches: | |
- master | |
name: release-please | |
permissions: {} | |
jobs: | |
release-please: | |
permissions: | |
contents: write # to create release commit (google-github-actions/release-please-action) | |
pull-requests: write # to create release PR (google-github-actions/release-please-action) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
id: release | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 20 | |
- run: npm install npm@latest -g | |
- run: npm install | |
- run: npm run prod | |
- uses: vimtor/[email protected] | |
with: | |
files: dist/ icons/ manifest.json | |
dest: release.zip | |
if: ${{ steps.release.outputs.release_created }} | |
- name: Upload to Chrome Web Store | |
uses: mobilefirstllc/cws-publish@latest | |
with: | |
action: 'upload' | |
client_id: ${{ secrets.GOOGLE_CLIENT }} | |
client_secret: ${{ secrets.GOOGLE_SECRET }} | |
refresh_token: ${{ secrets.GOOGLE_TOKEN }} | |
extension_id: ${{ secrets.EXTENSION_ID }} | |
zip_file: 'release.zip' | |
if: ${{ steps.release.outputs.release_created }} |