Skip to content

test(axios): add test case for status code validation #74

test(axios): add test case for status code validation

test(axios): add test case for status code validation #74

Workflow file for this run

on:
push:
branches:
- main
name: Publish packages - main
jobs:
publish-package:
name: Publish packages
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: https://registry.npmjs.org
- uses: actions/cache@v2
id: yarn-unplugged-cache
with:
path: |
'.yarn/unplugged/'
'.yarn/build-state.yml'
'.yarn/install-state.gz'
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-v1-
- name: Install unplugged dependencies and check immutable
run: |
yarn install --immutable
shell: bash
- name: Create PR or release packages
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
version: yarn version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}