Skip to content

Remove max_cache_age parameter (#141) #47

Remove max_cache_age parameter (#141)

Remove max_cache_age parameter (#141) #47

Workflow file for this run

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 }}