publish test #3
This file contains hidden or 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: PDS Package build | |
on: | |
push: | |
branches: | |
- pds-main | |
jobs: | |
build: | |
name: Update docker images | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
# this might remove tools that are actually needed, | |
# when set to "true" but frees about 6 GB | |
tool-cache: true | |
# all of these default to true, but feel free to set to | |
# "false" if necessary for your workflow | |
android: true | |
dotnet: false | |
haskell: true | |
large-packages: true | |
swap-storage: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@projectdata' | |
- name: Checkout the sourcecode | |
uses: actions/checkout@v4 | |
with: | |
set-safe-directory: '*' | |
- run: npm ci | |
working-directory: 'lib/msal-common' | |
- run: npm ci | |
working-directory: 'lib/msal-node' | |
- run: npm run build | |
working-directory: 'lib/msal-node' | |
- run: cd lib/msal-node && npm run publish | |
working-directory: 'lib/msal-node' | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |