revert: add back provider type #47
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
jobs: | |
changelog: | |
name: Changelog | |
runs-on: ubuntu-latest | |
outputs: | |
release-body: ${{ steps.update-changelog.outputs.release-notes }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Update changelog | |
id: update-changelog | |
uses: thomaseizinger/[email protected] | |
with: | |
tag: ${{ github.ref_name }} | |
changelogPath: 'docs/changelog.md' | |
- name: Commit and push | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: Bump version to ${{ github.ref_name }} | |
default_author: github_actions | |
build: | |
name: Builds | |
needs: changelog | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Pesde | |
uses: lumin-org/[email protected] | |
with: | |
cache: true | |
- name: Install Pesde dependencies | |
run: pesde install | |
- name: Format code | |
run: stylua src/ | |
- name: Standalone build | |
run: rojo build standalone.project.json --output ./standalone.rbxm | |
- name: Standalone release | |
uses: softprops/[email protected] | |
with: | |
tag_name: ${{ github.ref_name }} | |
name: ${{ github.ref_name }} | |
prerelease: ${{ contains(github.ref_name, 'rc') }} | |
generate_release_notes: true | |
body: | | |
## Changelog | |
${{ needs.changelog.outputs.release-body }} | |
files: | | |
./standalone.rbxm | |
package: | |
name: Packages | |
needs: changelog | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: latest | |
registry-url: https://registry.npmjs.org | |
- name: Setup Pesde | |
uses: lumin-org/[email protected] | |
with: | |
cache: true | |
token: '${{ secrets.PESDE_TOKEN }}' | |
- name: Install Node dependencies | |
run: npm ci | |
- name: Install Pesde dependencies | |
run: pesde install | |
- name: Publish Node package | |
run: | | |
npx rbxtsc --rojo typescript.project.json | |
npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Publish Pesde package | |
run: | | |
pesde publish -y |