Skip to content

Bump the github-actions group with 3 updates #69

Bump the github-actions group with 3 updates

Bump the github-actions group with 3 updates #69

name: PR build - tokenizer_ts
on:
pull_request:
branches: [ main ]
defaults:
run:
working-directory: tokenizer_ts
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 18
registry-url: 'https://npm.pkg.github.com'
scope: '@microsoft'
always-auth: true
- run: npm ci
- run: npm run build
- run: npm run test
- run: npm pack
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: npm-package
path: tokenizer_ts/*.tgz