Skip to content

Merge remote-tracking branch 'origin/main' into LOC-492_strapi_update… #292

Merge remote-tracking branch 'origin/main' into LOC-492_strapi_update…

Merge remote-tracking branch 'origin/main' into LOC-492_strapi_update… #292

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
execute:
runs-on: [self-hosted, Linux, aws]
env:
INPUT_TOKEN: ""
steps:
- name: Set work folder permissions
run: pwd && sudo chown -R $USER:$USER ./
- uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test
- name: Publish to npm
uses: JS-DevTools/npm-publish@v1
if: github.ref == 'refs/heads/main'
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}