Skip to content

[eslint-config] Provide community standards (#24) #18

[eslint-config] Provide community standards (#24)

[eslint-config] Provide community standards (#24) #18

Workflow file for this run

name: Main CI
on:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
token: ${{ secrets.ACTIONS_PTA }}
- name: Git set author name
run: git config --global user.name "runespoorengineering"
- name: Git set author email
run: git config --global user.email "runespoorengineering@gmail.com"
- name: Use Node.js/20.9.0
uses: actions/setup-node@v4
with:
registry-url: ${{ secrets.NPM_REGISTRY_URL }}
always-auth: true
node-version: 20.9.0
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Rush Verify Change Logs
run: node common/scripts/install-run-rush.js change --verify
- name: Rush List
run: node common/scripts/install-run-rush.js list --version
- name: Rush Install
run: node common/scripts/install-run-rush.js install
- name: Rush Rebuild
run: node common/scripts/install-run-rush.js rebuild --verbose
- name: Rush Publish
run: node common/scripts/install-run-rush.js publish --apply --target-branch ${{ github.event.repository.default_branch }} --publish --registry ${{ secrets.NPM_REGISTRY_URL }} --npm-auth-token ${{ secrets.NPM_TOKEN }} --add-commit-details