Skip to content

chore(deps): update dependency graphql to v16.8.1 [security] #3073

chore(deps): update dependency graphql to v16.8.1 [security]

chore(deps): update dependency graphql to v16.8.1 [security] #3073

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: Test on node ${{ matrix.node_version }}
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [16, 18]
steps:
- uses: actions/checkout@master
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@master
with:
node-version: ${{ matrix.node_version }}
- name: Install
run: yarn --ignore-engines
- name: Build
run: yarn build
- name: Test
run: yarn test
- name: Bundle Size
run: yarn bundlesize
- name: Publish Canary
env: # Or as an environment variable
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
run: |
echo "Fork PR: ${{github.repository}}"
if [ "${{github.repository}}" == "Urigo/SOFA" ] && [ "${{ secrets.NODE_AUTH_TOKEN }}" != "" ]
then
echo "//registry.npmjs.org/:_authToken=${{ secrets.NODE_AUTH_TOKEN }}" > .npmrc
npm run release
else
echo "Skipping canary publish due to a fork/PR..."
fi