Skip to content

Bump follow-redirects from 1.15.4 to 1.15.6 #82

Bump follow-redirects from 1.15.4 to 1.15.6

Bump follow-redirects from 1.15.4 to 1.15.6 #82

Workflow file for this run

name: workflow
on:
push:
tags:
- '*.*.*'
branches:
- '**'
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
env:
TZ: Europe/Amsterdam
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: |
npm ci --ignore-scripts --legacy-peer-deps
npm run test
- uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/coverage-final.json
publish:
if: startsWith(github.ref, 'refs/tags/')
needs: [test]
runs-on: ubuntu-latest
env:
TZ: Europe/Amsterdam
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
- run: |
npm ci --ignore-scripts --legacy-peer-deps
npm run build
- run: |
cd dist/ngrx-store-storagesync
version=${{ github.ref_name }}
sed -i "s/\"version\": \"[^\"]*\"/\"version\": \"$version\"/" ./package.json
npm publish