Skip to content

fix: throw module not found error after interception (#20510) #3

fix: throw module not found error after interception (#20510)

fix: throw module not found error after interception (#20510) #3

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
id-token: write # Required for OIDC
contents: write
pull-requests: write
jobs:
release:
if: github.repository == 'webpack/webpack'
name: Release
runs-on: ubuntu-latest
outputs:
published: ${{ steps.changesets.outputs.published }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Use Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: lts/*
cache: yarn
- run: yarn --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0
with:
publish: node ./node_modules/.bin/changeset publish
commit: "chore(release): new release"
title: "chore(release): new release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: "" # https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
trigger-logic:
needs: release
if: needs.release.outputs.published == 'true'
uses: ./.github/workflows/release-announcement.yml
secrets: inherit