chore(deps): update actions/checkout action to v4.2.2 #440
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js Packages | |
on: | |
push: | |
branches: ['umati'] | |
# Publish semver tags as releases. | |
# tags: [ 'v*.*.*' ] | |
jobs: | |
publish-gpr: | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-node@v4.0.4 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@umati' | |
- name: Install | |
run: npm ci --prefer-offline | |
- name: Build | |
run: npm run build | |
- run: npm publish | |
working-directory: './packages/react-scripts' | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |