Merge pull request #7 from Iteam1337/dependabot/npm_and_yarn/y18n-4.0.1 #7
This file contains hidden or 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: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Use Node.js 24 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - name: Run tests and linting | |
| run: | | |
| npm ci | |
| npm run lint --if-present | |
| npm test | |
| env: | |
| CI: true | |
| - name: Create release using semantic-release | |
| run: npx semantic-release | |
| env: | |
| # GITHUB_TOKEN is added automatically by GitHub | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| CI: true |