Bump tough-cookie from 4.1.2 to 4.1.3 (#135) #438
Workflow file for this run
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: Build | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
node_version: | |
- 18 | |
name: Node ${{ matrix.node_version }} on ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build Reason | |
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}" | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install latest NPM | |
run: npm install -g npm@9 | |
- name: Set Min Version | |
uses: Stelzi79/[email protected] | |
id: version | |
with: | |
minimum-major-minor: 2.0 | |
tag-prefix: v | |
- name: Build Version | |
run: | | |
npm install --global replace-in-files-cli | |
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} packages/core/src/configuration/Configuration.ts | |
replace-in-files --string="3.0.0-dev" --replacement=${{steps.version.outputs.version}} **/package*.json | |
npm install | |
- name: Build | |
run: npm run build | |
- name: Lint | |
run: npm run lint | |
- name: Run Tests | |
run: npm test | |
- name: Publish Release Packages | |
if: startsWith(github.ref, 'refs/tags/v') && matrix.os == 'ubuntu-latest' | |
run: npm publish --workspaces --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | |
- name: Setup GitHub CI Node.js environment | |
if: github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest' | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node_version }} | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@exceptionless' | |
- name: Push GitHub CI Packages | |
if: github.event_name != 'pull_request' && matrix.os == 'ubuntu-latest' | |
run: npm publish --workspaces --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |