Skip to content

Bump react and react-dom #4668

Bump react and react-dom

Bump react and react-dom #4668

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Extract tag name
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: echo "GITHUB_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build:prod
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
- name: Publish release
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: ncipollo/release-action@v1
with:
artifacts: build/betterttv.tar.gz
artifactContentType: application/gzip
token: ${{ secrets.GITHUB_TOKEN }}