refactor(core): replaces PNPM with NPM for the time being #312
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: Build and Test Project | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
node: ['18'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm i | |
- name: Lint | |
run: npm run lint | |
- name: Format check | |
run: npm run format:check | |
- name: Build | |
run: npm run build --configuration=production && npm run build:ngx-cookie-service-ssr --configuration=production | |
- name: Test | |
run: npm run test | |
env: | |
CI: true |