Skip to content

chore: updates express to solve vulnerability (#8) #18

chore: updates express to solve vulnerability (#8)

chore: updates express to solve vulnerability (#8) #18

Workflow file for this run

name: Publish package to GitHub Packages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@infinitaslearning'
- run: npm ci
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Infinitas Learning"
- run: npm version `npm pkg get version | tr -d '"' | cut -d '.' -f 1-2`.${{ github.run_number }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}