Skip to content

fix(deps): update dependency terser-webpack-plugin to v5 #3827

fix(deps): update dependency terser-webpack-plugin to v5

fix(deps): update dependency terser-webpack-plugin to v5 #3827

Workflow file for this run

name: ci
on: push
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v4
with:
always-auth: true
registry-url: 'https://registry.npmjs.org'
node-version-file: '.nvmrc'
scope: '@moonwalker'
# Cache yarn dependencies
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: yarn lint
publish:
needs:
- lint
if: contains(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@v4
with:
always-auth: true
registry-url: 'https://registry.npmjs.org'
node-version-file: '.nvmrc'
scope: '@moonwalker'
# Cache yarn dependencies
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm run release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}