Skip to content

FIX: react/node 18 things #66

FIX: react/node 18 things

FIX: react/node 18 things #66

name: Web Vitals CD - Publish Packages
on:
push:
branches:
- latest
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
env:
CI: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
scope: '@bbc'
- name: Install Node Modules
run: ./scripts/installNodeModules.sh
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}