Skip to content

0.0.22

0.0.22 #23

Workflow file for this run

name: phobos::publish
on:
release:
types: [published]
jobs:
publish-package-linux:
name: phobos::Publish::package-linux
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: phobos::Publish::package-linux::Check out Git repository
uses: actions/checkout@v3
- name: phobos::Publish::package-linux::Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: phobos::Publish::package-linux::Install Node.js dependencies
run: npm ci
- name: phobos::Publish::package-linux::Compile
run: npm run build
- name: phobos::Publish::package-linux::Publish
run: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-package-macos-arm64:
name: phobos::Publish::package-macos-arm64
runs-on: macos-latest
permissions:
contents: write
packages: write
steps:
- name: phobos::Publish::package-macos-arm64::Check out Git repository
uses: actions/checkout@v3
- name: phobos::Publish::package-macos-arm64::Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: phobos::Publish::package-macos-arm64::Install Node.js dependencies
run: npm ci
- name: phobos::Publish::package-macos-arm64::Compile
run: npm run build
- name: phobos::Publish::package-macos-arm64::Publish
run: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-package-macos-x64:
name: phobos::Publish::package-macos-x64
runs-on: macos-13
permissions:
contents: write
packages: write
steps:
- name: phobos::Publish::package-macos-x64::Check out Git repository
uses: actions/checkout@v3
- name: phobos::Publish::package-macos-x64::Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: phobos::Publish::package-macos-x64::Install Node.js dependencies
run: npm ci
- name: phobos::Publish::package-macos-x64::Compile
run: npm run build
- name: phobos::Publish::package-macos-x64::Publish
run: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-package-windows:
name: phobos::Publish::package-win
runs-on: windows-latest
permissions:
contents: write
packages: write
steps:
- name: phobos::Publish::package-win::Check out Git repository
uses: actions/checkout@v3
- name: phobos::Publish::package-win::Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20
- name: phobos::Publish::package-win::Install Node.js dependencies
run: npm ci
- name: phobos::Publish::package-win::Compile
run: npm run build
- name: phobos::Publish::package-win::Publish
run: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}