Bump @babel/preset-env from 7.25.3 to 7.25.4 (#7004) #4258
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: 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 }} |