Skip to content

Update actions versions #3

Update actions versions

Update actions versions #3

Workflow file for this run

name: On code change
on: [push, pull_request]
jobs:
build:
name: Build module
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '10.x'
- name: Install & build with yarn
run: |
yarn install
yarn build
-

Check failure on line 19 in .github/workflows/on-code-change.yml

View workflow run for this annotation

GitHub Actions / On code change

Invalid workflow file

The workflow is not valid. .github/workflows/on-code-change.yml (Line: 19, Col: 6): Unexpected value ''
test:
name: Run integration tests
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '10.x'
- name: test with yarn
run: |
yarn test
publish:
name: Publish to npm
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '10.x'
- name: Publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
yarn publish --access public