Support ngx-translate v17 #100
Workflow file for this run
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: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
env: | |
node-version: 22 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node ${{ env.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.node-version }} | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint | |
run: npm run lint | |
- name: Check formatting | |
run: npm run format | |
- name: Test | |
run: npm run test | |
- name: Build for production | |
run: npm run build:prod | |
- name: Pack | |
run: cd dist && npm pack | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: npm-package | |
path: dist/*.tgz |