Re-remove Total Patrons from the patron stats group. (#138) #44
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: Test & Publish Next | |
on: | |
# The build will be triggered on push to main | |
push: | |
branches: | |
- main | |
concurrency: | |
group: test-build-${{ github.ref_name }}-${{ github.event_name }} | |
cancel-in-progress: true | |
jobs: | |
test-and-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Install Node.js π» | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
- name: Set up Python π | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Set up Dunamai πͺ | |
run: pip install -r requirements-ci.txt | |
- name: Install locked dependencies π§ | |
run: npm ci | |
- name: Version β | |
run: npm version --no-git-tag-version $(dunamai from git --style semver) | |
- name: Test π§ͺ | |
env: | |
TZ: America/New_York | |
run: npm test | |
- name: Publish π | |
run: npm publish --tag next --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |