Skip to content

Commit

Permalink
[IOPLT-326] adds missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisTofani committed Jan 25, 2024
1 parent 69bb94a commit eb7ca98
Show file tree
Hide file tree
Showing 4 changed files with 3,750 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish the package to Github Package Registry
on:
release:
types: [created]
permissions:
packages: write
jobs:
github-package:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2
- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c #v3.6
with:
node-version: 18.x
registry-url: "https://npm.pkg.github.com"
always-auth: true
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies and build with builder bob
run: yarn install --frozen-lockfile
- name: Publish Package
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish the package npm registry
on:
release:
types: [created]
jobs:
npm:
runs-on: ubuntu-latest
environment: prod
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2
- name: Setup Node
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 #v2.5.2
with:
node-version-file: .nvmrc
registry-url: "https://registry.npmjs.org"
- name: Install dependencies and build with builder bob
run: yarn install --frozen-lockfile
- name: Publish package on NPM 📦
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.13.0
Loading

0 comments on commit eb7ca98

Please sign in to comment.