Skip to content

chore(deps): bump @sentry/integrations from 7.61.0 to 7.61.1 (#9438) #74

chore(deps): bump @sentry/integrations from 7.61.0 to 7.61.1 (#9438)

chore(deps): bump @sentry/integrations from 7.61.0 to 7.61.1 (#9438) #74

Workflow file for this run

name: NPM Publish
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
build:
if: github.repository == 'mdn/yari'
runs-on: ubuntu-latest
steps:
- name: Release
uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: release-please-action
changelog-types: |
[
{"type": "feat", "section": "Features", "hidden": false},
{"type": "fix", "section": "Bug Fixes", "hidden": false},
{"type": "enhance", "section": "Enhancements", "hidden": false},
{"type": "chore", "section": "Miscellaneous", "hidden": false}
]
- name: Checkout
uses: actions/checkout@v3
if: steps.release.outputs.release_created
- name: Setup
uses: actions/setup-node@v3
if: steps.release.outputs.release_created
with:
node-version: 18
cache: yarn
registry-url: "https://registry.npmjs.org"
- name: Install
if: steps.release.outputs.release_created
run: yarn --frozen-lockfile
env:
# https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build
if: steps.release.outputs.release_created
env:
# What this does is it makes sure the built client is made for
# doing CRUD work (e.g. previewing, toolbar, flaws UI, etc)
REACT_APP_WRITER_MODE: true
# This makes sure the auth is disabled. I.e. the "Sign in" link
# in the header. It also disables any XHR checks to the server's
# whoami endpoint.
REACT_APP_DISABLE_AUTH: true
# The 'yarn build:prepare' command is going to try to build up a
# file for the git history so it can have an index of each files.
# This makes sense in most of the cases where you have a CONTENT_ROOT
# which you'll want to build. But the CONTENT_ROOT can't be empty
# so you have to set it to something. So let's (ab)use the content
# we use for the end-to-end testing.
CONTENT_ROOT: testing/content/files
run: yarn build:prepare
- name: Publish
if: steps.release.outputs.release_created
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}