Skip to content

build(dev): bump follow-redirects from 1.15.4 to 1.15.6 (#202) #301

build(dev): bump follow-redirects from 1.15.4 to 1.15.6 (#202)

build(dev): bump follow-redirects from 1.15.4 to 1.15.6 (#202) #301

Workflow file for this run

name: CI
on:
push:
branches: [main, beta, alpha]
pull_request:
branches: [main, beta, alpha]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npm test
env:
CI: true
test-compat:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build
- run: npm test
env:
CI: true
release:
runs-on: ubuntu-latest
needs: [test, test-compat]
if: success() && github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}