Bump @babel/traverse from 7.22.6 to 7.23.2 #82
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
# This GitHub action will publish a package with a short sha | |
# act --secret-file act.env --container-architecture linux/amd64 --workflows .github/workflows/build.yaml | |
name: build | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# Setup .npmrc file to publish to npm | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20' | |
registry-url: 'https://npm.pkg.github.com' | |
scope: 'arkavo-org' | |
- name: Update Version with Commit SHA | |
run: | | |
export VERSION=$(npm pkg get version | xargs echo) | |
npm pkg set version=$(echo "${VERSION}-${GITHUB_SHA::8}") | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
- name: Publish package | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |